how use formula for image vignetting
Afficher commentaires plus anciens
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);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

