Does anyone know an easy way, given a binary image, to construct a transform which for each point on the boundary (contour set pixel) returns the point on the medial axis that it is closest to?
Related Questions in BINARY-IMAGE
- Colour a binary image in matlab?
- Properties of Square in Binary image
- How to combine binary mask of different shapes
- Coloring the categorical image
- A binary image has a black shape with white spots and white background with black spots. How to detect the square OpenCV python
- Merge "True" chunks in binary array (Binary Closing)
- To encode image using jbig2enc
- Implementation of JBIG-KIT Via MATLAB
- Detecting B&W Clusters of Pixels
- Convert Binary Image to Image and Insert into Google Doc - Google Apps Script
- Extract most central area in a Binary Image
- Find the center of space between two segments in image
- How can i convert png image to binary 0 1 in python
- How to find pixel color in image?
- what is this response format image
Related Questions in MEDIAL-AXIS
- Finding the connection lines between layers of a trimesh
- How to execute skeleton code on different binary images
- How to find the distance to boundaries using an existing and refined medial axis?
- overlapping skeletons of images
- Is there any method to find medial axis distance at middle, and fifth pixel of end points of skeleton medial axis?
- FloMAT library export
- ST_ApproximateMedialAxis leaving skeleton lines on final approximation
- Boundary to medial axis transform
- How do I calculate the medial axis for a 2D vector shape?
- Medial axis(orthogonal skeletonization) of blobs
- Is it possible to construct a medial axis for a polygon in sub-quadratic time?
- Delaunay triangulating the 2d polygon with holes
- Exact Medial Axis, Surfaces, Skeletonizations of 3D Polyhedra
- How to calculate the medial axis?
- Find medial axis of a polygon using C#
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I don't know which language you are using for your program, but you can use python.
with the scikit-image library it will be really easy.
First of all, you have to calcul all the component label (optional, depends on your binary image) thanks to the methods : skimage.morphology.label(image, return_num=True)
after that you can calculate each medial axis thanks to : skimage.morphology.medial_axis(img, return_distance=True)
so at this point you've got sets of points with contour pixel and sets of points with medial-axis pixel.
You just have to calculate for each component label a distance between pixel you want and all pixel in set of medial axis dist=sqrt((y2-y1)^2+(x2-x1)^2)
I hope it will help you.