Methods in Ecology and EvolutionBioinformaticsPeer-reviewed journal article
Patternize: An R Package For Quantifying Color Pattern Variation
Steven M. Van BelleghemiD, Riccardo PapaiD, Humberto Ortiz‐ZuazagaiD, Frederik HendrickxiD, Chris D. JigginsiD, W. Owen McMillaniD, Brian A. CountermaniD
Abstract
O_LIThe use of image data to quantify, study and compare variation in the colors and patterns of organisms requires the alignment of images to establish homology, followed by color-based segmentation of images. Here we describe an R package for image alignment and segmentation that has applications to quantify color patterns in a wide range of organisms.\nC_LIO_LIpatternize is an R package that quantifies variation in color patterns obtained from image data. patternize first defines homology between pattern positions across specimens either through manually placed homologous landmarks or automated image registration. Pattern identification is performed by categorizing the distribution of colors using an RGB threshold, k-means clustering or watershed transformation.\nC_LIO_LIWe demonstrate that patternize can be used for quantification of the color patterns in a variety of organisms by analyzing image data for butterflies, guppies, spiders and salamanders. Image data can be compared between sets of specimens, visualized as heatmaps and analyzed using principal component analysis (PCA).\nC_LIO_LIpatternize has potential applications for fine scale quantification of color pattern phenotypes in population comparisons, genetic association studies and investigating the basis of color pattern variation across a wide range of organisms.\nC_LI
- Citations
- 133
- FWCI
- 15.14
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Flexible color segmentation of biological images with the R package recolorize
Hannah I. Weller, Steven M. Van Belleghem, … Nathan P. Lord·Ecology LettersPeer-reviewed·Feb 1, 2024
- Dude, Everyone Wants Pattern Analysis Tools (DEWPAT): Tools for measuring visual pattern diversity from digital images
Jillian A. Sanderson, Tristan Aumentado‐Armstrong, … D. Luke Mahler·bioRxiv·Jan 29, 2025
- Colormesh: A novel method for quantifying variation in complex color patterns
J. J. Valvo, F. H. Rodd, … K. A. Hughes·bioRxiv·Jul 17, 2020
- PatternJ: an ImageJ toolset for the automated and quantitative analysis of regular spatial patterns found in sarcomeres, axons, somites, and more
M. Baheux Blin, V. Loreau, … P. Mangeol·bioRxiv·Jan 17, 2024
- Batch-Mask: An automated Mask R-CNN workflow to isolate non-standard biological specimens for color pattern analysis
J. D. Curlis, T. J. Renney, … T. Y. Moore·bioRxiv·Nov 12, 2021
- charisma: An R package to perform reproducible color characterization of digital images for biological studies
Shawn Tyler Schwartz, Whitney L. E. Tsai, … Michael E. Alfaro·Methods in Ecology and EvolutionPeer-reviewed·Apr 27, 2026