hi
I load a nii.gz file using ITK, and I find this file`s largest possible region(531,531,604) is bigger than request and m_buffer region (both of them are 512,512,604). I know this can be fixed by setrequest() or setmybuffer(), but why does this happen? what should I notice?
That sounds wrong. Can you share minimal code to reproduce and the offending image?
Are you reusing the ImageFileReader
class to read multiple files? Try using UpdateLargestPossibleRegion()
instead of just Update()
.
2 Likes
@blowekamp
Thanks, that work.
2 Likes