Skip to main content
Analysis is a crucial step in the coloring process. In order for Cadmium to infer predictions about how to color frames, the images need to be interpreted as multiple regions or “segments.” Comparing these segments in the reference image with the segments in the target image is the basis for Cadmium’s color predictions.

When Does This Happen?

Whenever you have a line frame with no corresponding imported color frame, that frame needs to be analyzed. Analysis occurs when you:
  • Press the Analyze button on the current frame or selected frames
  • Press the Colorize button (analysis is triggered automatically)
It’s often helpful to analyze first — before colorizing — to see how your artwork is being interpreted. This lets you spot gaps and saves time and credits.
Cadmium saves a copy of your analyzed segment map, but if the line image is altered or analysis settings change, a new segmentation map will be needed.

Analysis Settings Panel

Analysis Settings Panel
How the image is segmented depends on how the line image is interpreted. Adjust settings in the Analyze Settings panel in the upper-right corner:
Determines how opaque a line image pixel needs to be to count as part of a segment boundary. Auto mode uses an algorithm to adjust brightness and contrast. Manual mode lets you set a thresholding alpha value between 0 and 255 — higher values include more semi-transparent pixels.
Like many animation programs, this determines the size of a gap between pixels to be considered closed. Uses an algorithm based on the Trapped Ball method.
The smallest number of pixels allowed in an individual segment. Any segment below this threshold is dissolved and combined with a neighboring segment. Useful for charcoal-like line quality that creates many small unintended segments.
On by default. When you press Analyze, each segment is colored a different random color. This helps quickly identify gaps in your artwork. Note that it replaces any existing color frames, so turn it off if you want to preserve them.
After this step, you’re ready to colorize your frames.