Discrete 2D shape -morpho-logical operators [FAST]
Version 1.1 (19.8 KB) by
Nicolas Douillet
Basic logical operators (intersection, union, xor) between discrete 2D shapes. Works for convex or non convex shapes.
Please first check and run the example file 'test_discrete_2D_shapes_logical_operators.m'
I and J inputs must be binary / logical images of the same size.
You may check together :
- shape1.png and shape2.png
- shape3.png and shape4.png
- complexgear.png and pseudoflower.png
Be sure to download all the files (example images attached)
Please don't forget to rate if this code helped you. Thanks ! ;-)
Cite As
Nicolas Douillet (2024). Discrete 2D shape -morpho-logical operators [FAST] (https://github.com/NicolasDouillet/Discrete_2D_shape_operators/releases/tag/v1.1), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2019b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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.1 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.