Color-Based Image Segmentation
Absorb a layer into its surrounding color patches
Add a raster image to a plot
Adjust the saturation and brightness of a color
Apply imager operations to layers of an image
Converts from a raster array to a cimg object
Convert from an array to a raster stack
Assign a 2D matrix of pixels to specified colors
Generate a background condition for masking
Index and remove background pixels for color clustering
Blur an image
Convert from a RasterBrick to an array
Generate a 'coldist' object for CIE Lab colors
Converts from cimg to raster array
Convert a recolorize object to a classify object
Clean up parameters passed to mergeLayers
Modified convertColor
Generate color clusters from an image
Cluster pixel colors using histogram binning
Cluster pixel colors using K-means clustering
Calculate squared residuals for color centers
Generate an image from pixel assignments and color matrix
Edit a color patch using morphological operations
Edit multiple color patches using morphological operations
Expand aspects of a recolorize object for other functions
Plot and group colors by similarity
Calculates the distance between non-transparent pixels in images
Plot a heatmap of a matrix of color distances
Recolor an image to a provided set of colors
Change colors of dendrogram tips
Reorder a color palette to best match a reference palette
Change color centers to median color of all pixels assigned to it
Merge layers in a recolorized image
Make pixel assignment matrix for recoloring
Plot recolorized image results
Plot a recolorizeVector object
Plot color clusters in a color space
Plot a color palette
Plot a 3D array as an RGB image
Convert from a (small-r) raster object to an RGB array
Read in an image as a 3D array
Recluster color centers based on color similarity
Get recolored image from a recolorize object
Run pavo's adjacency and boundary strength analysis on a `recolorize...
Convert a recolorize object to a raster object
Save a recolored image as a PNG
recolorize: Color-Based Image Segmentation
Simplify the colors of an image
Recolorize with automatic thresholding
Convert a recolorize object to a vector
Reorder colors in a recolorize object
Rerun the sequence of calls used to produce a recolorize object
Convert RGB colors to HSL
Split color clusters in a recolorize object into layers
Drop minor colors from a recolorize object
Remap an image to Werner's nomenclature
Automatic, semi-automatic, and manual functions for generating color maps from images. The idea is to simplify the colors of an image according to a metric that is useful for the user, using deterministic methods whenever possible. Many images will be clustered well using the out-of-the-box functions, but the package also includes a toolbox of functions for making manual adjustments (layer merging/isolation, blurring, fitting to provided color clusters or those from another image, etc). Also includes export methods for other color/pattern analysis packages (pavo, patternize, colordistance).
Useful links