plz help me to write code for this formula

4 个评论

What is I? matrix or constant?
Usually when people ask to 'help me to...' it means you have done something and want people to help you make it correct rather than just a 'Please do it all for me' question.
As formulae go that one looks very easy to implement. what part of it is causing problems?
for rgb image Normalization i am trying to use this Normalization formula but there is error how i cam implement it on my rgb image
i=imread('05.jpg'); >> alpha=mean( i ); beta=std(double(i));
(0 - 1) * (1/(1+exp((-1-beta)/alpha)) + 1);
alpha and beta will be vectors with that formulation.
You would need to use
alpha = mean( double( i(:) ) );
beta = std( double( i(:) );
to get scalar values for these.

回答(0 个)

此问题已关闭。

提问:

2018-10-9

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by