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

2 vues (au cours des 30 derniers jours)
John Marl
John Marl le 10 Nov 2018
a=imread('C:\Users\dona2264\Downloads\SanDiego.jpg');
g = rgb2gray(a);
b = im2double(g);
c= mat2gray(b);

Réponses (1)

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

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by