how to fuzzify the pixel intensity of an image

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)

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
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

Categories

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

Asked:

on 1 Nov 2013

Answered:

on 17 Mar 2021

Community Treasure Hunt

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

Start Hunting!