clasifiy kitchenware using neural networks: What are the features
1 view (last 30 days)
Show older comments
hi
i try to use neural network to build simple system that classify four element
Screw, Spoon, Knife, Thorn
my problem is in feature extraction
This is the first application to me So my experience a few in feature extraction
can any help in chose good feature
4 Comments
Answers (1)
Image Analyst
on 5 Apr 2013
Features could be any of the things that regionprops() returns. Most likely each of the features (e.g. area, perimeter, solidity, majoraxis length, etc.) is in a certain range for each type of kitchen implement, as long as you don't have lots of different sizes (like a dozen different sizes and styles of knives). See my tutorial for how to extract features from objects in an image: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
8 Comments
Image Analyst
on 5 Apr 2013
You can ask for 'Perimeter' in regionprops().
I don't have a book but Steve does: http://imageprocessingplace.com/DIPUM-2E/dipum2e_main_page.htm. My tutorial will work for more features than in my image segmentation tutorial. There are other things that regionprops() can measure that I didn't ask for. Look in the help. Of course you can also invent your own features. For example regionprops doesn't output the very useful metric "circularity" for some reason, but I can calculate it from the equation
circularities = perimeters.^2 / (4*pi*Areas).
I was just discussing with a development team from the Mathworks yesterday that I should package up my demos and upload them. I have well over 100 demos that I've developed into general purpose demos in response to questions here in Answers - I've just never found the right time to zip them all up and upload them, not to mention that I add or change files on an almost daily basis. Maybe someday...
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!