how to fuzzify the pixel intensity of an image
1 view (last 30 days)
Show older comments
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
on 3 Dec 2020
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
0 Comments
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
0 Comments
See Also
Categories
Find more on Fuzzy Logic Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!