Azzera filtri
Azzera filtri

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

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

Risposte (1)

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

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by