Clear Filters
Clear Filters

Image processing fuzzy logic

1 view (last 30 days)
Ali Alomar
Ali Alomar on 24 Apr 2022
Commented: Ali Alomar on 24 Apr 2022
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
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
Ali Alomar on 24 Apr 2022
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...

Sign in to comment.

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!