Code and example images from: recolorize: An R package for flexible color segmentation of biological images
收藏DataONE2024-01-31 更新2024-06-08 收录
下载链接:
https://search.dataone.org/view/sha256:526cfcd0e8a2662d075b7710bae9e611ccb1069d45ce8273c9af3485e30f65c8
下载链接
链接失效反馈官方服务:
资源简介:
Color pattern variation provides biological information in fields ranging from disease ecology to speciation dynamics. Comparing color pattern geometries across images requires color segmentation, where pixels in an image are assigned to one of a set of color classes shared by all images. Manual methods for color segmentation are slow and subjective, while automated methods can struggle with high technical variation in aggregate image sets. We present recolorize, an R package toolbox for human-subjective color segmentation with functions for batch-processing low-variation image sets and additional tools for handling images from diverse (high variation) sources. The package also includes export options for a variety of formats and color analysis packages. This paper illustrates recolorize for three example datasets, including high variation, batch processing, and combining with reflectance spectra, and demonstrates the downstream use of methods that rely on this output., The included dataset is a copy of the code and images found in the recolorize_examples GitHub repository as of January 2024:Â https://github.com/hiweller/recolorize_examples
The code includes all steps necessary to recreate the analyses presented in the paper. Images were sourced as follows:
Figure 1: Images of Chrysochroa beetles by Nathan P. Lord (coauthor).
Figure 2:Â Pygoplites diacanthus image from John E. Randall/Bishop Museum (http://pbs.bishopmuseum.org/images/JER/detail.asp?size=i&cols=10&ID=1432937402).
Figure 3: Images of Neolamprologus fishes taken by Ad Konings, used with his kind permission.
Figure 4: Images of Polistes fuscatus wasps taken by James Tumulty, and are a subset of the images used for analysis in Tumulty et al. (2023): https://doi.org/10.1016/j.cub.2023.11.032
Figure 5: Images of Diglossa birds taken by Anna E. Hiller (coauthor). , , # Code and example images from 'recolorize: An R package for flexible color segmentation of biological images'
## Summary
This repository contains example files and code from the methods paper (Weller, Hiller, Lord, and Van Belleghem, 2024) describing how to use the recolorize R package ().
### Software requirements
All examples were developed and tested using R version 4.3.2 (2023-10-31, \"Eye Holes\"), and R version >3.5.0 is recommended.
### Overview
The main directory contains folders for each of the examples demonstrated in the paper (01_beetles, 03_cichlids, 04_wasps, and 05_birds), as well as two R scripts (patPCA_total.R and 00_installation_RUN_ME_FIRST.R) and an R project file (recolorize_examples.Rproj).
1. Before running any of the examples, it is recommended to run the 00_installation_RUN_ME_FIRST.R script, as this will install the development versions of the relevant packages for the examples.
2. The .Rproj file is not necessary to run the examples but is conven...
创建时间:
2025-07-26



