Skip to content

Commit

Permalink
Fix rotation angles in Initial_classification_FD
Browse files Browse the repository at this point in the history
Per issue #31, Initial_classification_FD gives the wrong angles
for the rotated images (compared to what Initial_classification
gives and align_main expects). This is fixed by correcting those
angles.
  • Loading branch information
janden committed Mar 30, 2017
1 parent bbdc629 commit 39950dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projections/class_average/initial/Initial_classification_FD.m
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@
class_refl=ceil(class/n_im);
class(class>n_im)=class(class>n_im)-n_im;

rot(class_refl==2) = mod(rot(class_refl==2)+180, 360);

timing.bispec=toc_bispec;
timing.nn=toc_nn;
timing.rot=toc_rot;
Expand Down

0 comments on commit 39950dd

Please sign in to comment.