Freeman chain code and bw image processing sparing tools
Version 2.1 (22 KB) von
Nicolas Douillet
Freeman chain code. Binary image. One shape at a time.
Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week
Also available on my github : https://github.com/NicolasDouillet/Freeman_chain_code
For binary images only.
One shape at a time.
INPUTS :
- I, the binary image
- option_display, logical true false to display or not the result
OUTPUTS :
- Code : the Freeman code vector of directions; row vector of integers in the range |[1; 8 ]|
- row_idx0 : the first white pixel row index; integer scalar.
- col_idx0 : the first white pixel column index; integer scalar
Please don't forget to rate this code if it helped you ;-)
Zitieren als
Nicolas Douillet (2024). Freeman chain code and bw image processing sparing tools (https://www.mathworks.com/matlabcentral/fileexchange/87037-freeman-chain-code-and-bw-image-processing-sparing-tools), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
2.1 | Some behavior improvements and new cool stuffs :-) |
||
2.0 | Some improvements and new cool stuffs ;-) |
||
1.0.1 | Improve description |
||
1.0.0 |