Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
a=imread('C:\Users\dona2264\Downloads\SanDiego.jpg');
g = rgb2gray(a);
b = im2double(g);
c= mat2gray(b);

Respuestas (1)

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

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by