How to extract feature in an image?
Show older comments
I have a segmented image now i have to extract feature from the image. Which will be the best approach to take? Please help
This is the segmented image

2 Comments
Asif Hasan
on 3 Sep 2014
chukka Ranjith
on 30 Sep 2017
can u send me the code... not totally i just need the logic... just send 3 lines of gabor filter in matlab
Answers (1)
Image Analyst
on 3 Sep 2014
Edited: Image Analyst
on 3 Sep 2014
0 votes
Why are you using Gabor filter? What do you want to measure, and how do you think Gabor will do that?
See my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial---blobsdemo--
10 Comments
Asif Hasan
on 3 Sep 2014
Image Analyst
on 3 Sep 2014
You said Gabor "gives me feature but mostly focused on edge rather than sclera part." So now we know you don' t want edges or texture info like Gabor helps with, so what do you want? What EXACTLY do you want from the sclera part? The area of it? It's average brightness or color? What?
Asif Hasan
on 3 Sep 2014
Edited: Asif Hasan
on 3 Sep 2014
Image Analyst
on 3 Sep 2014
Are you following the recipe int he paper? Also, the iris can be used for identification also so maybe for more robustness you should analyze both the iris and the sclera.
Asif Hasan
on 3 Sep 2014
Image Analyst
on 3 Sep 2014
Sorry, but I don't have the time to donate to your project. If it's something simple we can help but can't really put in the time required to translate a scientific article into MATLAB code - that cannot be done in 5 minutes or so, it would take way more time.
Asif Hasan
on 5 Sep 2014
Edited: Asif Hasan
on 5 Sep 2014
Image Analyst
on 5 Sep 2014
Why is it 1-D? Maybe you can use plot(). Or maybe use reshape to put it back into a rectangular image and use
imshow(image2D, []); % Must use [] if looking at a double class image.
Asif Hasan
on 5 Sep 2014
Image Analyst
on 5 Sep 2014
I don't really know. I don't use Gabor things. Sure, you can threshold globally or adaptively/locally - whatever makes sense to you.
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
