how to fuzzify the pixel intensity of an image

2 次查看(过去 30 天)
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

回答(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 2021-3-17
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

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by