Page 1 of 1
how labeling a letter in imagemagick ?
Posted: 2017-03-23T18:47:50-07:00
by diegomage
Im trying to labeling a letter but i dont know how
i see this image
how I could do this in imagemagick or other language
please help me
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T19:13:11-07:00
by fmw42
I do not know this well. But see thinning and pruning in the morphology section starting at
http://www.imagemagick.org/Usage/morpho ... g_skeleton
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T19:17:46-07:00
by diegomage
very thankyou
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T19:21:49-07:00
by diegomage
I think that use Convexity Defects and convex hull for detecting lowest point and extreme point could be a solution I dont know if this its possible using imagemagick
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T19:22:22-07:00
by diegomage
and then using this information for line segmentation
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T19:24:10-07:00
by diegomage
detect the extreme points I think that if possible but detect Convexity Defects I dont know
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T19:56:30-07:00
by fmw42
I do not think convex hull helps get the skeleton of the letter. Perhaps you want the convex hull for you other post. Likewise, I think you want to use the skeleton solution from your link in the current post.
You have your answers/questions reversed.d
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T20:22:50-07:00
by snibgo
Skeletonising an image is easy. Dividing a skeleton into line segments, junctions and loops is easy. Finding the direction of a line is fairly easy. For those operations, see
http://www.imagemagick.org/Usage/morphology/
The OP contains a graphic with text I can't read. Do you have other questions?
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T20:27:56-07:00
by diegomage
not really the unique problem in this Could be to detect the convexity defect since you would probably have to detect the skeleton and using connected components detect sub-skeletons for the image would be somewhat complicated
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T20:28:18-07:00
by diegomage
and then combine point for labeling the image
Re: how labeling a letter in imagemagick ?
Posted: 2017-03-23T20:33:51-07:00
by diegomage
For example in the other post for the hands detect red point is not difficult but detect yellow points is more complicated
Would be similar with the letter but that would have to combine that information to do the segmentation