Identify edge and corner element numbers
Version 1.0.0.0 (1,25 KB) von
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];
Zitieren als
sunil anandatheertha (2026). Identify edge and corner element numbers (https://de.mathworks.com/matlabcentral/fileexchange/34657-identify-edge-and-corner-element-numbers), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Object Analysis >
Mehr zu Object Analysis finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
