You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to reduce memory consumption by discarding HTJ2K bits once they are decoded. Right now partial decoding requires keeping the original bits around which consumes additional memory. For example, suppose you have a 512x512 image encoded with 2 resolution levels (128x128 base, 256x256 coefficients, 512x512 coefficients). If I want to progressive download and display each resolution level, it would go like this:
Download HTJ2K bitstream up to 128x128 base level, decode, display. In memory I have part of the encoded bitstream up to 128x128 + 128x128 decoded bits
Download 256x256 level encoded bits, append to previous 128x128 encoded bits, decode, display. In memory I now have part of the encoded bitstream up to 256x256 + a 256x256 decoded bits
Download 512x512 level encoded bits, append to previous 256x256 encoded bits, decode, display. In memory I now have the fully encoded bitstream + 512x512 decoded bits. I can now discard the 512x512 encoded bits since I have the full resolution image.
Memory use could be reduced if the decoder would allow taking in the decoded bits instead of the corresponding encoded bit stream.
The text was updated successfully, but these errors were encountered:
It would be nice to reduce memory consumption by discarding HTJ2K bits once they are decoded. Right now partial decoding requires keeping the original bits around which consumes additional memory. For example, suppose you have a 512x512 image encoded with 2 resolution levels (128x128 base, 256x256 coefficients, 512x512 coefficients). If I want to progressive download and display each resolution level, it would go like this:
Memory use could be reduced if the decoder would allow taking in the decoded bits instead of the corresponding encoded bit stream.
The text was updated successfully, but these errors were encountered: