about image pixel rotate
    2 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
Hi everyone,
I use 'imrotate' function to rotate a image, the rotate degree is theta, however, how can I get the location of fix points,let's say (x,y), after image rotated.
Thanks
0 Commenti
Risposte (1)
  Matt J
      
      
 il 30 Mag 2013
        Apply a rotation matrix,
R=@(theta) [cosd(t), -sind(t); sind(t), cosd(t)];
c=size(image)/2+1/2;
newpoint = R(theta)*([x,y]-c).'
0 Commenti
Vedere anche
Categorie
				Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
