Brush Smaller Image Or Matrix Over A Larger Matrix, Select ROI with resizeable window

版本 1.2.0.0 (1.3 MB) 作者: Michael Chan
Illustrates how a smaller matrix may be 'brushed' against a larger one without overflowing.
759.0 次下载
更新时间 2011/1/22

查看许可证

main executing reference usages:
[1] brushSmallerImageOverAnother.m

The objective is to illustrate how a smaller matrix may be 'brushed' against a larger one without overflowing.
Such operations are common in image processing.

If the smaller matrix is desired to start from the top left corner of the larger matrix, zero padding to the larger matrix may be an option. That is, given the smaller matrix, n by n, the larger matrix, m by m, has to be appended to a size of m + 2*(n-1) rows by m + 2*(n-1) columns.

[2] computeRegionalStatisticsOf_ROI
: brush a NxN window to compute the average value, variance, etc. of each region of interest (ROI).

* Caveat : Illustrative Purposes

If the demo has more elegant presentation, please do not hesitate to suggest and send feedback to author.
Email: promethevx@yahoo.com.

Thank you.

Regards,
Michael Chan JT

引用格式

Michael Chan (2024). Brush Smaller Image Or Matrix Over A Larger Matrix, Select ROI with resizeable window (https://www.mathworks.com/matlabcentral/fileexchange/29337-brush-smaller-image-or-matrix-over-a-larger-matrix-select-roi-with-resizeable-window), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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

Added a 2nd executing reference usage:
computeRegionalStatisticsOf_ROI.m
: brush a NxN window to compute the average value, variance, etc. of each region of interest (ROI).

1.1.0.0

trivial adjustment: uncommenting line 43 (for visual illustration):
pause(0.01)

1.0.0.0