Multiple mip level downsampling including image and segmenation.
For image, the algorithm will be automatically choosen as average pooling.
For segmentation, the algorithm will be Will Silversman's countless algorithm to perform model pooling. The most frequent segmentation ID will be choosen.
The type of chunk was automatically determined from the data type.
Image: uint8, floating
Segmentation: uint16, uint32, uint64,...
Would like the Operator to be driven by SQS or other. I.e. algorithm can be impl'd via SQS (on AWS and Lambda) or some small one machine queue on Colab.
Chunckflow already has class DownsampleUploadOperator(OperatorBase):
See also #18