How would I have to adjust the code of my CLI probeCoords to employ streaming? It just loads an image and reports the pixel values for some specific indices and is based on https://itk.org/Doxygen/html/Examples_2DataRepresentation_2Image_2Image3_8cxx-example.html.
This should be possible to realise with streaming, however just adding
StreamingImageFilter does not suffice because only for one chunk
GetPixel() will work and when all pixels are probed further streaming is not necessary and should be stopped. I guess most efficient would be to test every chunk if
GetPixel() succeeds for all specified indices and to continue until all are found. But how to check if
GetPixel() succeeded within a chunk?
Thanks for any help or hints.