SaveContourCropsNode

Overview

Saves contour crops to disk and writes metadata for downstream classification.

Inputs

  • Input Image (GrayScaleImage)

  • Contours (Contours)

  • Padding (Int)

  • Min Area (Int)

Parameters

  • Padding: min 0, max 100, default 5. Extra pixels added around each contour crop

  • Min Area: min 0, max 10000, default 100. Filters out small contours before saving

Outputs

  • Saved Count (Int)

  • Output Directory (String)

  • Status (String)

Example

Use Padding=10 to capture surrounding context around each contour.