MATLAB Answers

how to fuzzify the pixel intensity of an image

1 view (last 30 days)
Sapam Jaya
Sapam Jaya on 1 Nov 2013
Answered: Kyle Rawding on 17 Mar 2021
I need help in fuzzifying the pixel intensity using a membership function u(x)=e^(-(xmax-xmn)^2/2f^2)..xmax is maximum intensity value,xmn is d intensity at(m,n),f is a fuzzifier.how to do it in matlab

Answers (2)

Constantino Carlos Reyes-Aldasoro
I think that what you are referring to as "fuzzifying" is better described as randomness or adding noise. What you can do is simply add noise, which can be uniform or normally distributed with the functions
rand(m,n)
or
randn(m,n)
where m,n are the dimensions of the image you want to make fuzzy.
Hope this helps

Kyle Rawding
Kyle Rawding on 17 Mar 2021
Hi -
I understand that you're interested in using pixel intensity as an input to a fuzzy inference system according to the membership function you've listed above.
We have a published example on tuning an FIS based on pixel color, which is just intensity in a specific RGB channel:
I believe you could follow this workflow then define your membership function as desired.
Cheers,
Kyle

Community Treasure Hunt

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

Start Hunting!

Translated by