Here I attached the image and template where I used in my program. The file type I use is .ppm. I have changed it to .jpg in order to upload it. The program of my subroutine is:
Hi all,
I am currently using template matching technique where a mouth template with the size VS2xUS2 needs to be move pixel by pixel in a clipped region with bigger size height1xwidth1 so that...
Thank you very very much for the reply. Do you mind to make it in programming codes which can be connected with my attached codes?
I have to admit that though i can get what you mean but i have no...
Hi guys,
First, I detect coordinates for left and right corners of a mouth in Corners.c and saved in struct Coordinate for 72 images.
How can I able to link it to another C file, let's say try5.c...
Ops, thanks for the suggestions. If you have experience in template matching using matlab, please contribute a bit under my post in General Developer Topics section. Thank you very much for what you...
Sorry, if i caused any misunderstanding from my previous questions. Yup, i know D(i).name is the name of the file and a:b is from "a" part of the string to "b" part. Actually, what i want to ask...
Thanks for the explanation. Now i have a clearer view except for End.
(end-3:end)
Do you mean "D(i).name" is the 4 elements?
What does "end-3" means?
Let's say the filename is "a.pgm". Do you...
Sorry I have some problem with my matlab and cannot the software cannot be used in this period. According to what i have searched, this is what i understand (as shown in below.
Do you mind to clear...
Thanks for helping. If I am not mistaken, only the selected x-coordinate will be kept into corner_list[n].x but i need the same correspoding y coordinate also . This is because the detected points, x...
Yiannakop: Thanks for your guidance, really appreciated it. From my opinion,
colorDetectHSV(RGB1, [0.019 0.55 0.33], [0.01 0.02 0.02]);
we still have to fill in manually for HSV value which we can...
Thanks for the code.
Yiannakop: I have tried your codes. Let's say we get HSV = [0.0782 0.5461 0.3454] by running selectPixelsAndGetHSV(RGB, Area). Then only we use the mean to apply to your...
dglienna: Do you mean these codes can help me to extract red region as well as the lips from an image?
My original image is in RGB. If HSL can detect lips and ignore others, i am going to use it....
Never mind, it is ok. I hope someone can give me a helping hand. I have studied actually. Just wondering whether there is something wrong inside the codes.
I mean nothing has changed for red even i change the first value of colorDetectHSV() for red. I mean i can't even get the mouth like what i did in RGB. It's like a mess, can't differentiate the mouth...