how use formula for image vignetting
Mostrar comentarios más antiguos
I want use this code for image vignnetting
i=imread('flower.jpg')
im=double(i)
[x,y,z]=size(im);
c=im(round(x/2),round(y/2));
%pix_1 = [p11,p12];
%pix_2 = [p21,p22];
%distance = sqrt( (p21-p11)^2 + (p22-p12)^2 );
distane=sqrt((x1-cx)^2 + (y1 - cy)^2)
x1,y1 ar cx, cy er distance - sqrt((x1-cx)^2 + (y1 - cy)^2);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

