Image processing fuzzy logic
Show older comments
Dear all.. I want to use fuzzy logic for character recognition, my question is "how can I send particular pixel or pixels to the fuzzy system toolbox for further processing? "
Answers (1)
Sam Chak
on 24 Apr 2022
So now you have the image pixel data, and you want send the data to the fuzzy system for character recognition and further processing. However, it is not clearly described what you mean by "further processing". Here are two fuzzy rules:
Rule #1:
- If you have successfully designed a fuzzy system (a FIS file) for character recognition using your expertise in Handwriting Analysis, then you use the evalfis function and the following syntax:
predicted_character = evalfis(fis, pixel_input)
More examples can be found in this documentation:
Rule #2:
- If you want to train a fuzzy system to recognize some characters using the image pixel data, then you use the anfis function and the following syntax:
fis = anfis(trainingData, options)
More examples can be found in this documentation:
1 Comment
Ali Alomar
on 24 Apr 2022
Categories
Find more on Fuzzy Logic Toolbox 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!