can some one explain whats happening on this code?

i found this code in some example program in retrieving images. and i want to know if i can use this code in my leaf recognition system and what feature extraction the program used in training and testing the data. advance thankyou for those who answer some of my question :)

Réponses (1)

Image Analyst
Image Analyst le 23 Déc 2014

0 votes

I think the best way is to just try it and see. I can't tell just by looking at it. If you want further explanation contact the author and ask that more comments be put in. It's asking quite a lot to ask us to explain this long program.
Also, please just attach the m-file or else format it properly. See the formatting tutorial http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup

5 commentaires

mark
mark le 23 Déc 2014
hello im so sorry for my mistake :) this is my first time to post a question in here :) i just attached the file :) thankyou so much :) ill be waiting for your answer :)
Image Analyst
Image Analyst le 23 Déc 2014
Modifié(e) : Image Analyst le 23 Déc 2014
I gave you my answer: "I can't tell just by looking at it." I'm waiting for your answer about trying it and seeing if it worked, or seeing what additional explanation the author can give you. By the way, the ZIP file can't be opened (at least not by Windows 7).
mark
mark le 26 Déc 2014
Modifié(e) : Image Analyst le 26 Déc 2014
yup it is working :) it can retrieve a leaf that are save in database :) my really concern is i want to know the flow of the program :) i mean how it can train and test the data what is the feature extraction that it use. example texture and shape and ect. i want to understand the flow and code because i need to modify it to add some more function :) example even if the leaf is smaller in the database it can recognize that also :)
ops sorry. i just uploaded it in drop box here's the link :) ill be waiting on your answer :) thank you so much for the reply i really appreciated it :) and sorry for my english heheh.
Color may not be so reliable since I imagine there could be a range of colors in a given species that it not unique to that one species - lots of other trees and bushes will have that color. So I think you need to look at shape, like Fourier descriptors. See morphometrics http://en.wikipedia.org/wiki/Morphometrics.
Sorry I don't have any programs that do that and it's too major of a project to write a leaf identification program for you - it's not something I can bang out in 5 minutes or less like the other demos I upload here.
mark
mark le 26 Déc 2014
yup :) thats true we cant use the color because it is not very reliable we focused more on shape and texture.
no i dont want you to create a program for me :) i just want to know the flow of the program that i uploaded :) i hope you can now see the program that i uploaded :) and if it is possible add some comment in the code so i can understand it :) thankyou so much by the way:)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Question posée :

le 23 Déc 2014

Modifié(e) :

le 26 Déc 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by