-
Notifications
You must be signed in to change notification settings - Fork 1
Micrograph_mark_v3
Adrian Quintana edited this page Dec 11, 2017
·
1 revision
Mark particles in a micrograph This utility allows you to mark and cut micrographs as well as to generate a list of coordinates with the positions to cut. The program admits single or tilted couples of micrographs (markpair mode).
- Manual particle selection:*
- Click with the mouse left button on the overview in order to select the part of the micrograph you desire
- Mark particles with the mouse left button on the micrograph window If you are in tilt pair mode, select particles in the untilted image; the corresponding point will be drawn in the tilted micrograph. If you don't like the position of the automatically generated particle you can move by clicking with the left mouse button
- To remove a particle, click again with the left button on the particle.
- To move a particle, click with the right button on the particle and drag it with the left button.
- Automatic particle selection:* The algorithm is designed to learn the particles from the user, as well as from its own errors. The algorithm is fully described in this paper.
- Pick one particle in the first micrograph
- Adjust the mark size to cover the particle diameter
- Pick the rest of the particles for the first micrograph.
- Click on Learn, Save and Quit
- Open the second micrograph, pick all the particles in this micrograph.
- Click on Learn, Save and Quit
- Repeat this process until about 150 particles have been picked
- From this point, you may teach the algorithm about difficult particles, for doing so
- Open the micrograph
- Click on AutoSelect and wait for the results
- Correct the algorithm by removing the wrongly selected particles and by adding the unselected particles
- Click on Learn, Save and Quit
- Repeat this process until the algorithm produces satisfactory results (normally this state is achieved after about 300 particles have been manually picked).
- From this point, you may autoselect the rest of the micrographs without supervision.
- Key shortcuts:*
- Ctrl-+ and Ctrl-- in the overview window to Zoom-in and Zoom-out respectively
- Ctrl-G to adjust the contrast
- Ctrl-S to save the particle coordinates. If you are marking a tilt pair, you must press Ctrl-S on both images.
- Ctrl-R to change the radius of the mark. NOTE: if you are working in tilted mode left and right windows have independent radius
- Notes:*
- When loading particles in two micrographs (tilting pairs) the conversion matrix (the one which passes coordinates from one micrograph to the other) is not computed. For computing it, click on Save angles
- Save angles is an option for paired micrographs which computes the tilting angle of the tilted micrograph, and the angle from the Y axis to the tilt axis (clockwise angles are positive) for both images. The result is written in a file called as the untilted image with the extension .ang
- When cutting the micrograph into particles you can choose a different file from which to cut. This is used if you want to mark on a downsampled image and cut from the original one. You must supply the root name for the particles and the window size. This window size will be applied directly without any scaling to the micrograph to be cut. The popup window that appears after selecting the option generate images will allow you to invert contrast and compute optical density from transmitance data
- You can apply filters to the image being visualized, so that you can see particles better. Filters are added into a queue, so whenever you change the visualized area, they are applied again. Select the menu filter in the overview and add so many filters as you like. You can clean the filter queue, if you want to return to the original image
- IMPORTANT: when working in markpair mode you the tilt and untilted image are independent. For example: if you save the position of the particles in the untilted window you are not saving it in the tilted (by the way, be sure to provide two DIFFERENT file names for the tilt and untilted positions)
- Conversion from other programs:*
- From Boxer (Eman)
- From Web (Spider)
Parameters
$: File with untilted image $
: File with tilted image $: For autoselection $
: Autoselect without user interaction $--thr <p
1> $``: Output rootname If not given, the micrograph name is taken
Mark a single image:
xmipp_micrograph_mark -i micrograph.tifMark a tilt pair:
xmipp_micrograph_mark -i untilted.tif --tilted tilted.tifTrain the autoselection algorithm:
xmipp_micrograph_mark -i untilted.tif --auto modelAutomatically select particles in a micrograph (without supervision):
xmipp_micrograph_mark -i untilted.tif --auto model --autoSelect