ordfilt3

版本 1.3.0.0 (3.3 KB) 作者: Toby Collins
Performs 3D order-statistic filtering on 3D volumetric data.
1.8K 次下载
更新时间 2008/11/13

无许可证

ordfilt3: Performs 3D order-statistic filtering on 3D volumetric data.

The memory and computational overhead for such an operation can be extremely demanding. Here - memory efficiency has been achieved with a recursive-split algorithm, allowing for far larger volumes and/or window sizes to be processed than if the order statistics were to be attempted directly. The basic operation is fairly simple - the volume is recursively split into 8 even sub-blocks, until sub-blocks are reached that are small enough for the filter to be computed with a single call (i.e. when there is enough free contiguous memory to process the entire sub-block) The intermediate results are propagated back up the call stack which then fill output matrix (V_ord)

Usage:

[V_ord] = ordfilt3(V0,ord,winSize,pad_opts)

Inputs:
V0: Numeric 3D volume. Supports all numeric classes
ord: Speficies which order statistic to return.
This can be a string, or a number 1<=ord<=winSize^3

For example:
ord = 'min' returns the minimum window value (same as ord = 1)
ord = 'max' returns the maximum window value (same as ord = winSize^3)
ord = 'med' returns the median window value

winSize: Size of filter window. Currently, only cubic windows are permitted, whose
Length=Width=Height = winSize. This must be odd.

pad_opts: same as defined in 'padarray' (optional)

Outputs:
V_ord - Order Statistic

Note:
By calling [V_ord] = ordfilt3(V0,ord,3,pad_opts), this code computes the 26-neighbourhood order statistic filter, which is the same as outputted by Olivier Salvado's implementation (but which is non-splitting, and uses a fixed 3*3*3 window.)

引用格式

Toby Collins (2024). ordfilt3 (https://www.mathworks.com/matlabcentral/fileexchange/22044-ordfilt3), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 3-D Volumetric Image Processing 的更多信息
标签 添加标签
致谢

参考作品: ordfilt3

启发作品: Spherical hough transform for 3D images

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.3.0.0

Detailed function description uploaded

1.1.0.0

Header comments updated

1.0.0.0