Image processing fuzzy logic

3 visualizzazioni (ultimi 30 giorni)
Ali Alomar
Ali Alomar il 24 Apr 2022
Commentato: Ali Alomar il 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? "

Risposte (1)

Sam Chak
Sam Chak il 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 Commento
Ali Alomar
Ali Alomar il 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...

Accedi per commentare.

Categorie

Scopri di più su Fuzzy Logic Toolbox in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by