Image analysis and feature extraction
6 次查看(过去 30 天)
显示 更早的评论
Dear all I am working on a project dealing with images. I want to extract the features of each image then combine all features into one table( database).
Note: I did one project before but each image has some tissues (blobs) so I dealt with tissues as a record not the image. But in this case I need to deal with the image as a record.
Thank you
0 个评论
回答(1 个)
Image Analyst
2016-4-24
I don't understand what you mean when you're talking about doing image analysis as an image versus a record. This makes absolutely no sense to me: "I dealt with tissues as a record not the image. But in this case I need to deal with the image as a record." You want "as a record" in both cases but what's the difference between "tissues" in the first case and "image" in the second case?
If you want to know how to measure some things in an image, see my image segmentation tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
7 个评论
Image Analyst
2016-4-24
Sorry, I don't know what to tell you. You're now segmenting the image. I thought you did not want to do that. So you can either segment and measure the image, like you're doing here. Or you can not segment the image and just measure the whole image as one giant rectangular blob. Or you can look at just two points like you mentioned before and the only thing you can get from that is the gray levels or colors at those locations and the distance between the two points.
Regarding your error message, you can't convert to gray scale with rgb2gray if your image is already gray scale. So check and only call it if it's gray scale
if ndims(L7) == 3
L7=rgb2gray(L7);
end
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
