Image processing fuzzy logic

1 次查看(过去 30 天)
Ali Alomar
Ali Alomar 2022-4-24
评论: Ali Alomar 2022-4-24
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
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:
  1 个评论
Ali Alomar
Ali Alomar 2022-4-24
Well..thanks a lot, The goal is to extract text from images using edge detection then character recognition based on fuzzy logic (not handwritin characters). fuzzy system should except some pixels locations For example if I need to send the first pixel and the last one in the first line...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by