Filter löschen
Filter löschen

How do i raise the pixels in c to a power of .25? and then store the new image?

1 Ansicht (letzte 30 Tage)
a=imread('C:\Users\dona2264\Downloads\SanDiego.jpg');
g = rgb2gray(a);
b = im2double(g);
c= mat2gray(b);

Antworten (1)

Walter Roberson
Walter Roberson am 10 Nov. 2018
d = c .^ (1/4);
imwrite(d, 'NewImage.jpg');

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by