Image processing fuzzy logic
显示 更早的评论
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? "
回答(1 个)
Sam Chak
2022-4-24
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:
类别
在 帮助中心 和 File Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!