By now, output is initialized with input pixel type even if output is requested to be binary -> Huge waste of memory;
Solution: Init output with unsigned char when SetOutputToBinary is turned on.
Description
Description
Event Timeline
Comment Actions
Added change request;
Changes also help in 4D support of (by now internal) SurfaceToImage bundle;
Comment Actions
[SVN revision 25550]
FIX (#5077): Initialize output of SurfaceToImageFilter with uchar if binary is requested; added test;
Comment Actions
Test only works on Windows. PixelType is always returned as "h" on Linux.
-> #ifdef WIN32; closed.