From: Walter Roberson on 8 Jun 2010 19:30 amin wrote: >> Do the original images show as much horizontal stretching as the above >> PNG file seems to imply? > try with these links : Thanks, those are much clearer. Looks like you have difficulty when there is a notable hollow under the lips together with beard shadow that would suggest hollowing. Perhaps if you did some color matching you could isolate the area the lips were in from the beard shadow.
From: amin on 8 Jun 2010 19:53 it is absolutely, Walter Roberson my question is can you give me code matlab allow to isolate lip region (eliminate beard shadow and notable hollow under the lips) and thank you for your help again
From: ImageAnalyst on 8 Jun 2010 21:23 I'd be somewhat surprised if Walter had lip-finding code lying around. It's kind of a niche application. But some people do have such code. For example all those dozens of people who've written facial feature finding programs that I gave you in my first response. Did you look up any of those, or are you just relying on getting lucky with Walter?
From: Walter Roberson on 9 Jun 2010 01:10 ImageAnalyst wrote: > I'd be somewhat surprised if Walter had lip-finding code lying > around. It's kind of a niche application. Quite. I do not have any such code available. The problem area appears to have very different proportions than the lips do. I would think, then, that regionprops() applied to a thresholded image would likely be able to distinguish between beard shadow and lips -- the eccentricity of lips would be much higher, for example. One could use this to isolate the inside of beard shadow when it occurs, and apply the snakes to that region of interest.
From: amin on 9 Jun 2010 12:56
for Analyst--------------------> no sir, you did not understand my request I have not asked for a code detection lips because I have already implemented the snake method. my problem is that my algorithm requires a small code to make the lips appear to facilitate the task of the snake (so i need code or just an idea) is just what I want Please, I really need help for Walter Roberson------------------>I appreciate well your help sir. I ask you to show me how to use the regionprops fonction because I believe that this function processes an image already thresholded in labels |