qvcr: Core Qt libaries for viewing images and graphics using VXL
A set of widgets and QtGraphicsItems to display images, points, lines etc.
The key object is the qvcr_image_viewer, which sets up a QGraphicsScene to display an image,
and allows graphic items to be appended on top as necessary.
Graphic items include:
- qvcr_point: A point
- qvcr_point_1d: A point which is constrained to lie on a line
- qvcr_box: A rectangle
- qvcr_circle: A circle
- qvcr_h_line: An infinite horizontal line (used as part of cross hair, for example)
- qvcr_v_line: An infinite vertical line (used as part of cross hair, for example)
- qvcr_node: A vertex in a qvcr_basic_graph
- qvcr_edge: A line connecting two nodes in a qvcr_basic_graph
- qvcr_basic_graph: A collection of points (qvcr_node) and connecting edges (qvcr_edge), used to display shapes.
Each of the above can be manipulated by the user with mouse interactions, and can then be interrogated for its current state.
See the Qt documentation about graphics and scenes for detailed descriptions of the framework.
Tools
The qvcr/tools directory contains three tools:
- qvcr_image_viewer: Example of displaying an image
- qvcr_image_set_viewer: Display images + points, allowing stepping through examples listed in a file
- qvcr_circles_viewer : display image with multiple circles of various sizes