In ImageJ ROI manager one can define a color by name (green, yellow, magneta, etc). I have been struggling to find a list of allowed color names. Does anybody know where to find a comprehensive list of color names used by ImageJ?

有帮助吗?

解决方案

In the ROI manager documentation of the ImageJ User Guide, it is written:

The nine default selection colors (black, blue, cyan, green, magenta, orange, red, white, yellow) can be typed textually.

The same can be found in the source code: the RoiProperties dialog uses the ij.plugin.Colors class to set the stroke color.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top