Identify edge and corner element numbers
版本 1.0.0.0 (1.3 KB) 作者:
sunil anandatheertha
Identify the elements lying along edges and corners of a 2D (n x m) matrix
With reference to the screenshot, the code extracts the element numbers of all points lying on:
1. elements lying between P and B, into the array "top"
2. elements lying between Q and D, into the array "right"
3. elements lying between R and F, into the array "bottom"
4. elements lying between S and H, into the array "left"
corners = [topleftelement toprightelement bottomrightelement bottomleftelement];
引用格式
sunil anandatheertha (2024). Identify edge and corner element numbers (https://www.mathworks.com/matlabcentral/fileexchange/34657-identify-edge-and-corner-element-numbers), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Object Analysis >
在 Help Center 和 MATLAB Answers 中查找有关 Object Analysis 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |