Hi @apoliti, and sorry for the delay!
May I introduce you to the great powers of the GroupBy node, combined with the aggregation functions added by KNIME Image Processing (KNIP)?
KNIP adds several aggregation functions to aggregate images from multiple rows:
Compose Image – create a new image of the same type, with the single input images places at the position of their known ‘offset’ (you can use Set Image Metadata to manipulate them),
Compose Labeling – create a new segmentation image from input images and labels,
Merge Image – create a new image (stack) with a N+1 dimensions from N-dimensional input images,
and some more that are equivalent to those in Projector, but working on multiple rows instead of single (stack) images:
- Max Image
- Mean Image
- Min Image
Here’s an example workflow that illustrates how to create a label image from given segments and labels:
Note that the Edit button in the Parameter column of the Manual aggregation tab contains all the magic:
Hope that helps, and happy image processing !