contour following in binary images
Version 1.2.0.0 (8.65 KB) by
rajjan thakur
the function finds the contour pixels in a bw image.. the object is assumed to be white.
2K Downloads
Updated
23 Feb 2009
No License
[knew,m,n]=contour_b_trial_2(a,row,col)
knew=contour image
m=contour background pixels
n=contour object pixels
ch=contour_code_2(m)
ch=contour code
[k8,m8]=eightneighbour(k,n)
k8=contour image containing eight neighbourhood
m8=contour pixels
[k4,m4]=fourneighbour2(k,n)
k4=contour image containing four neighbourhood
m4=contour pixels
press pause after each plot to continue
Cite As
rajjan thakur (2026). contour following in binary images (https://uk.mathworks.com/matlabcentral/fileexchange/23056-contour-following-in-binary-images), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Find more on Contour Plots in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Contour Parameterization
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
