classify_recolorize: Convert a 'recolorize' object to a 'classify' object

View source: R/recolorize_adjacency.R

classify_recolorizeR Documentation

Convert a recolorize object to a classify object

Description

Converts a recolorize object to a pavo::classify object for use in pavo.

Usage

classify_recolorize(recolorize_obj, imgname = "")

Arguments

recolorize_obj

A recolorize object.

imgname

Name of the image (a string).

Details

This is mostly for internal use, and hasn't been tested much.

Value

A pavo::classify object. The background patch will always be the first color (patch 1), and will be white by default.


recolorize documentation built on April 4, 2025, 3:07 a.m.