Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
Shortly: in medical imaging 12-16 bit gray scale images are commonly used. It is possible to pack them into .rec file as 16 bit PNGs. ImageRecordIter converts them into 8 bit format internally causing information loss.
Therefore, it seems natural that ImageRecordIter should support 16 bit data handling by preserving the original data bit-depth or by explicit bit-depth specification. At least it would be extremely helpful for the medical imaging applications.
Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Feature
Complete information on the motivation for this feature request and further details are given in this post: https://discuss.mxnet.io/t/limited-bit-depth-of-the-recordio-iterator/4245
Shortly: in medical imaging 12-16 bit gray scale images are commonly used. It is possible to pack them into .rec file as 16 bit PNGs. ImageRecordIter converts them into 8 bit format internally causing information loss.
Therefore, it seems natural that ImageRecordIter should support 16 bit data handling by preserving the original data bit-depth or by explicit bit-depth specification. At least it would be extremely helpful for the medical imaging applications.