Difference between revisions of "Alignment mask"

From Dynamo
Jump to navigation Jump to search
Line 8: Line 8:
 
== Local correlation ==
 
== Local correlation ==
 
This is the default mode in ''Dynamo''
 
This is the default mode in ''Dynamo''
The template is rotated and shifted (virtually, through fourier acceleration). At each posible combination of rotation angles and shift, the mask is also rotated and shifted, defining a moving region inside the template.  
+
The template is rotated and shifted (virtually, through fourier acceleration). At each posible combination of rotation angles and shift, the mask is also rotated and shifted, defining a moving region inside the template.  
 
The rotated and shifted template is compared to the data particle only inside this moving region.
 
The rotated and shifted template is compared to the data particle only inside this moving region.
  

Revision as of 13:53, 8 April 2016


The alignment mask is use during alignment to define the part of the template cube that will actually be used to align particle.


Local correlation

This is the default mode in Dynamo The template is rotated and shifted (virtually, through fourier acceleration). At each posible combination of rotation angles and shift, the mask is also rotated and shifted, defining a moving region inside the template. The rotated and shifted template is compared to the data particle only inside this moving region.

There is no need to define a smooth mask: the mask is never applied onto the template (never gets pixelwise multiplied against the template). The alignment mask is rather used to define the region inside which template and particle will be compared. This moving region is never produced explicitly: the effect of selecting a moving area is coded inside the Fourier acceleration.

Switching local correlation off

It is possible to switch the local correlation off for certain rounds. In this case, computation time should increase 60% at the cost of a less accurate algorithm: Dynamo will actually just multiply the template with the mask. In this case, it is advised to use a smooth mask, i.e., one with a smooth decay of the boundaries.

In order to to this from dcp, you need to go to Numerical Parameters, then switch on the "advanced" button, make sure that the Cross Correlation checkbox is checked and then locate the parameter "normalized cross correlation" . Put it to zero in the rounds that you want.

Alignment mask during averaging

The alignment mask is used once again during the averaging step. After rotating and shifting the particle along the alignment parameters, the full particle is normalized using the values found inside the mask. The particle is normalized in order to ensure a zero mean and standard deviation one inside the region defined by the alignment mask.

No further use of the alignment mask is performed: not for FSC computations, or filtering.

Bibliography

Alan M. Roseman, Particle finding in electron micrographs using a fast local correlation algorithm, Ultramicroscopy 94 (2003) 225–236