Depicting a cloud of observations on a tilt series

From Dynamo
Jump to navigation Jump to search

There are several ways of depicting a cloud of points on a set micrographs.

dmarkers

dmarkers is the GUI that appears as exploration tool for tilt series when running alignment experiments. It can also be used independently of those workflows.

Depict a static cloud of point

dmarkers offers the possibility of showing a static cloud of points | defined on a tilt series.
gui = dmarkers(myStack, 'staticCloud',myCloud);

Editing a depiction of a cloud of points

You can assign an internal name to a point cloud that you pass to dmarkers.
gui = dmarkers(myStack, 'staticCloud',myCloud,'name','someName');

Then, you will be able to locate the object that governs the depiction of the cloud. This graphical object is stored in:
gui.opts.cloudDepictors.items.someName.hCloud

You can change its properties manually. For instance, to get bigger markers:
gui.opts.cloudDepictors.items.someName.hCloud.MarkerSize = 12

Note that if you invoked the addition of the static cloud without the flag cloudName you can still find the depictor under gui.opts.cloudDepictors.items, the name will be simply cloudDepictorXX where XX is an integer name.

Show a set of markers that can be manually edited on screen

Depicting a set of markers on a tilt series, when those markers are organized as a .dms file.

gui = dmarkers(myStack, 'staticCloud',myCloud);

The gui object can be retained for further manipulations.

Changing the colors programmatically

The graphic objects that represent the points are governed by the depictor objects that are stored in the gui object that you recover into the left hand side. Inside this gui, the shapeSetManager
gui.shapeSetManager.depictors{1}.hPoints.MarkerFaceColor ='c';

A marker set depicted on dmarkers

dtmshow

With the GUI

In dtmshow, you can use the import option of the GUI to load a

Programmatically

When invoking the code, you can use the flags cloud and colormapCloud to pass a cloud an its color