<div dir="ltr">Hi all,<div><br></div><div>What's the easiest way to get the length of the data buffer of an itk::Image in bytes?</div><div><br></div><div>I see that GetBufferPointer() gives me a pointer to the buffer, but I also need the length of the buffer in bytes. I can calculate this as a product of image size components and pixel size in bytes, but I'm wondering if that is the easiest way.</div><div><br></div><div>Thanks,</div><div>Fijoy</div></div>