* LargestPossibleRegion is the total size of the image
* BufferedRegion is the portion of the image that is
currently loaded in memory
* RequestedRegion is the portion that the pipeline
request from a filter at the moment
of execution.
If you are writing a filter, you should only generate the
RequestedRegion.
If you are planning to visit pixels with Image Iterators you should use
*at most* the BufferedRegion
If you are computing features from the entire image geometry, then you
should use the LargestPossibleRegion.
itk Get Image Region Methods
最新推荐文章于 2022-02-03 00:33:59 发布
本文详细解释了图像处理中三个关键区域的概念:最大可能区域、缓冲区和请求区域。最大可能区域指整个图像的大小;缓冲区是当前加载在内存中的图像部分;请求区域则是流水线在执行时刻从过滤器请求的部分。作者建议编写过滤器时只生成请求区域,并使用缓冲区进行像素遍历。对于整个图像几何特征的计算,则应使用最大可能区域。
303

被折叠的 条评论
为什么被折叠?



