[ITK] Fwd: N4BiasCorrection output size
Dženan Zukić
dzenanz at gmail.com
Mon Jan 23 12:50:38 EST 2017
Hi Shreyas,
more likely reason is that you did not turn on compression in the
ImageFileWriter. And casting the output back to int16 would decrease the
size further.
Regards,
Dženan
On Mon, Jan 23, 2017 at 11:50 AM, Vishwanathan Shreyas <
shreyas122011 at gmail.com> wrote:
> Hi,
>
> I'm using SimpleITK on python. I wanted to perforn N4 bias correction on
> the MICCAI BRATS database. For that, first I cast the images to Float32,
> which were initially Int16 and then passed it to the filter.
>
> When I saved the output on disk, I found a huge gap between the input and
> output sizes.
>
> INPUT: ~2MB
> OUPUT: ~33MB !!!
>
> I know that float takes more space, but can we cast the output to Int16
> again without loss of information(as I don't believe float pixel values
> mean anything)?
>
> Thanks,
> Shreyas
>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170123/ac38bbde/attachment.html>
More information about the Community
mailing list