knime-ip / knip

KNIME Image Processing Extension
https://www.knime.com/community/image-processing
49 stars 11 forks source link

Consider adding ImgSumOperator as aggregation method #490

Open imagejan opened 6 years ago

imagejan commented 6 years ago

When aggregating images with the GroupBy node, it would be useful to also have a "Sum Image" option in addition to Min/Mean/Max Image.

How about adding org.knime.knip.base.data.aggregation.ImgSumOperator modeled after the other aggregation operators? (As for the other aggregation methods, the caller should be responsible for using the correct desired type.)

imagejan commented 2 years ago

Just stumbled upon this one again. It would be really nice to have a SUM projection available.

Currently, we have in the Projector:

... and as aggregation functions:

I'd suggest to make these two lists consistent, i.e. also provide MEDIAN and STD as aggregation functions in GroupBy, and add SUM_INTENSITY/Sum Image to both.

NB: of course you can work around the missing sum by using the average and multiplying by the count of input images.