Beginner Tutorial Data Objects 2D Marker

Markers in MeVisLab

In MeVisLab you can equip images and other data objects with markers. In this example you will see how to create, process and use markers.

Creation and Rendering

To create markers, you can use a marker editor, for example the SoView2DMarkerEditor. Connect this editor to a viewer as shown below. Now you can interactively create new markers. Connect the module XMarkerListContainer to your marker editor to store markers in a list.

Create Markers

Create Markers

Using the module StylePalette you can define a style for your markers. In order to set different styles for different markers, change the field Color Mode in the Panel of SoView2DMarkerEditor to Index.

Style of Markers

Style of Markers

With the help of the module So3DMarkerRenderer markers of an XMarkerList can be rendered.

Rendering of Markers

Rendering of Markers

Working with Markers

Learn how to convert markers by building the following network. Press the Reload buttons of the modules MaskToMarkers and MarkersToSurface to enable the conversion. Now you can see both the markers and the created surface in the module SoExaminerViewer. Use the toggle options of SoToggle and SoWEMRenderer to enable or disable the visualization of markers and surface.

Convert Markers

Convert Markers

Exercise

Get the HU value of the image at your markers location.

Summary

  • Markers are single point objects located at a defined location in your image.
  • Markers can be converted to be rendered in 3D.