knime-ip / knip

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

Image Reader (Table): more options for subset selection #317

Open imagejan opened 8 years ago

imagejan commented 8 years ago

It would be useful in some cases to be able to specify a subset also in X and Y dimensions (i.e. to read a cropped image). As far as I can see, this functionality only exists for the Z, Time and Channel dimensions in the Subset Selection tab.

hornm commented 8 years ago

I am not sure if that really is necessary. Because the Image Reader would have to read the whole image plane anyway in order to crop it. Hence, there would be no benefit over the following solution: Just put the Image Reader and Image Cropper into a Wrapped Metanode and set the "Simple Streaming" Job Manager on it. Images will be read and cropped without further overhead. Does that makes sense? If not, please feel free to re-open that issue.

imagejan commented 8 years ago

I considered the option of using Image Reader and Image Cropper with streaming, but bio-formats/scifio explicitly allows to read cropped regions from datasets, thereby offering better performance on datasets containing huge planes. Hence my suggestion.

hornm commented 8 years ago

Ok, got it.

imagejan commented 8 years ago

See this discussion on the ImageJ forum about use cases for this option.