I'm looking for a method about the power calculation in Matlab. The code like s following
Corrected = 255 * (Image/255)^(1/2.2)
but as you can see this, this make an error like this:
Error using ==> mpower
error happened like this. Integer can only be raised to positive integra powers
So what can I do fix it?