patternize0.0.5 package

Quantification of Color Pattern Variation

kImageHSV

kmeans clustering of image imported as a RasterStack. This function ...

lanArray

Build landmark array for Morpho.

makeList

Build list of landmarks or RasterStacks from images using filepath and...

maskOutline

Intersects a RasterStack with an outline. Everything outside of the ou...

alignLan

Align images using landmarks

alignReg

Aligns images using niftyreg utilities for automated image registrat...

colorChecker

Calibrate images using ColorChecker.

colorChecker_customGray

Calibrate images using ColorChecker.

colorChecker_half

Calibrate images using (right) half of ColorChecker. Only works for X-...

createPhenotype

Plot color pattern prediction for specified PCA values

createTarget

Create a target image (RasterStack) from a polygon.

extdata

External patternize data

GMMImage

GMM clustering of image imported as a RasterStack.

kImage

kmeans clustering of image imported as a RasterStack. This function ...

patArea

This fucntion calculates the area in which the color pattern is expres...

patGMM

Extract colors using GMM clustering (for pre-aligned images).

patK

Extract colors using k-means clustering (for pre-aligned images).

patK_HSV

Extract colors using k-means clustering (for pre-aligned images).

patLanHSV

Aligns images usings transformations obtained from fixed landmarks and...

patLanK

Aligns images usings transformations obtained from fixed landmarks and...

patLanK_HSV

Aligns images usings transformations obtained from fixed landmarks and...

patLanRGB

Aligns images usings transformations obtained from fixed landmarks and...

patLanW

Extracts color pattern from landmark transformed image using watershed...

patPCA

This function transforms the individual color pattern rasters as obtai...

patRDA

This function transforms the individual color pattern rasters as obtai...

patRegHSV

Aligns images using niftyreg utilities for automated image registrat...

patRegK

Aligns images using niftyreg utilities for automated image registrat...

patRegK_HSV

Aligns images using niftyreg utilities for automated image registrat...

patRegRGB

Aligns images using niftyreg utilities for automated image registrat...

patRegW

Aligns images using niftyreg utilities for automated image registrat...

patternize

patternize - An R package for quantifying color pattern variation.

plotHeat

Plots the color pattern heatmaps from sumRaster output.

plotRasterstackAsImage

Plot rasterStack as image.

redRes

Reduce the resolution of an image imported as a RasterStack by downsam...

sampleLandmarks

Sample landmarks in an image.

sampleRGB

Interactive function to sample RGB value from pixel or square area in ...

setMask

Interactive function to to draw an outline for masking.

sumRaster

This function sums the individual color pattern RasterLayes as obtaine...

Quantification of variation in organismal color patterns as obtained from image data. Patternize defines homology between pattern positions across images either through fixed landmarks or image registration. Pattern identification is performed by categorizing the distribution of colors using RGB thresholds or image segmentation.

  • Maintainer: Steven Van Belleghem
  • License: GPL-3
  • Last published: 2023-08-22