isInBoundary
No License
This function was intended to use with images from histological sections where different structures are annotated on the image. The cells are points and the annotations boundaries. This function then determines if a given series of points are element of a boundary. See picture: A) Image with drawn boundary, B) following the return values the cells which are element of the boundary are drawn with a white asterisk.
Example:
p = [[x1 y1];[x2 y2]];
boundary = [[x3 y3]; ... ;[xn yn]];
r = isInBoundary(p,boundary);
>> r=
0 1
Cite As
Gie Spaepen (2024). isInBoundary (https://www.mathworks.com/matlabcentral/fileexchange/10287-isinboundary), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Biological and Health Sciences > Biomedical Imaging >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Filtering >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |