Page MenuHomePhabricator

3M3 Version of Measurement tools
Closed, ResolvedPublic

Related Objects

StatusAssignedTask
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
InvalidNone
ResolvedNone
ResolvedNone
ResolvedNone
DuplicateNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
DuplicateNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
Wontfixkislinsk
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone
ResolvedNone

Event Timeline

[SVN revision 19466]
ENH (#2655): Added first changed version of the 3M3 Measurement tools

Requirements:

  • Ellipsoids (circles as special case)
  • Rectangles (squares as special case)
  • Lines
  • 3-point angles
  • 4-point angles
  • Polygons
  • ...

Design to be discussed...

[SVN revision 19602]
ENH (#2655): Basic implementation of planar figures data and rendering classes

[SVN revision 19615]
ENH (#2655): Add classes for planar figure measurement

[SVN revision 19645]
ENH (#2655): Implemented interactive placement and editing for PlanarFigure objects

Requesting core modification to commit changes in StateMachine.xml

[SVN revision 19646]
COMP (#2655): Corrected invalid method declaration syntax

[SVN revision 19647]
COMP (#2655): Added PlanarFigureInteractor (for 2D measurements via PlanarFigure objects)

[SVN revision 19673]
ENH (#2655): Now supporting closed and open polygons

[SVN revision 19674]
FIX (#2655): Removed slight misbehavior in PlanarFigureInteractor

[SVN revision 19675]
ENH (#2655): Improved behavior of PlanarFigureInteractor

[SVN revision 19676]
ENH (#2655): Now PlanarFigure objects are attached to the selected (image) node, and thus are visible on top of it (new layer management)

[SVN revision 19699]
ENH (#2655): Added additional Icons, added TableView for showing Measurement results (not implemented yet)

[SVN revision 19920]
FIX (#2655): - Added TableModel for showing PlanarFigures and related values

  • Added: Automatic naming scheme for new PlanarFigures
  • Added: Copy Paste support for excel
  • Removed Window toolbar, readded to view

I need this tool for my work. Please make sure that it is still possible to measure a simple distance! That was the reason to build this program. A simple, not overloaded tool to measure a distance and an angle. And not only in transversal plane. I need to measure transversal, coronal and sagital. I don't know why someone has to "draw" 4-Point-Angles, Arrows and Text-Tools. In my mind it is to much. But now I can't go on with my work because I simply need to measure a distance in the saggital view that I can't see.
And because I don't want to read pages of manuals only to measure a distance, please: would it be possible to rename this module to "Extended drawing and measurement on transversal plane with many geometric objects, arrows and text-tools" and give back the old "measurement" tool to me?
One really useful extension for this simple tool would be a ruler at the sides. But the rest could be kept still simle and easy to use.

A current work around for this problem is to rotate the transversal plane in the desired orientation before loading the measurement functionality via the crosshair rotation mode.
It is definitely planned to extend the new measurement funtionality to support measuring in different planes.

[SVN revision 19981]
FIX (#2655): - A PlanarFigures selected property gets toggled when selected in Planar Figure table

  • Selected Planar Figures are painted in red

[SVN revision 20027]
ENH (#2655): Added const version of GetPolyline()

[SVN revision 20042]
ENH (#2655): Use drag and drop to move control points of PlanarFigures (instead of two consecutive clicks)

[SVN revision 20046]
ENH (#2655): "selected" property of selected Figures are set appropriately

[SVN revision 20047]
ENH (#2655): Added Measurement perspective

[SVN revision 20048]
ENH (#2655): Added measurement icon

[SVN revision 20089]
FIX (#2655): Restored old measurement functionality as "org.mitk.gui.qt.simplemeasurement"

[SVN revision 20131]
FIX (#2655): set state of DrawFourPointAngle action correctly

[SVN revision 20148]
FIX (#2655): Implemented Rectangle (still some coordinate misalignment). Added correct display of Feature quantities. Some minor bug fixes changes in PlanarFigure and PlanarAngle

[SVN revision 20149]
FIX (#2655): Implemented Rectangle (still some coordinate misalignment). Added correct display of Feature quantities. Some minor bug fixes changes in PlanarFigure and PlanarAngle

[SVN revision 20161]
FIX (#2655): Fixed formatting of feature strings, added feature display in render window

[SVN revision 20173]
FIX (#2655): Fixed presentation of unit signs (correct ASCII codes for "^2" and degrees). Fixed some warnings of unused variables

[SVN revision 20179]
FIX (#2655): Some changes on FourPointAngle for presenting the angle in degrees

[SVN revision 20181]
FIX (#2655): Rearranged measurement GUI. Removed Table, added TextBrowser insted. Selections are made through the DataManager.

[SVN revision 20200]
ENH (#2655): Issuing itk::InitializeEvent when PlanarFigure object placement is completed

[SVN revision 20277]
FIX (#2655): Erased "unselected" bug. Added Initialized listener to get informed when planarfigures are properly initialized

[SVN revision 20325]
FIX (#2655): For drawing circles: changed tooltip from "Ellipse" to "Circle"

[SVN revision 20332]
ENH (#2655): Included ImageStatistics in Measurement perspective; moved everything a bit around so that all have their share of GUI space

[SVN revision 20333]
ENH (#2655): Shortened text message for image selection to make GUI more compact

[SVN revision 20365]
FIX (#2655): In mitkPlanarFigureInteractor: When throwing an itk::EndEvent, an itk::ModifiedEvent is also thrown on the node
In mitkPlanarCircle: When moving the center point the boundary point is moved as well
In mitkDataStorageSelection: Added AutoAddNodes flag. If set to false new Nodes in the DS will not be saved in the selection. New nodes can only manually be added
Measurement:

  • Added new Icons and fixed use of PlanarPath icon (a property called "ClosedPlanarFigure" is set to false in order to distinguish it from a normal polygon)
  • Updating text view should work
  • Removing nodes und erasing RenderWindow text should work

[SVN revision 20366]
COMP (#2655): Assigment operator now returns a value (gcc does not seem to be interested in returning values, VC really demands it)

[SVN revision 20372]
FIX (#2655): Using new Icon for measurement perspective

[SVN revision 20382]
FIX (#2655): Fixed updating problems

[SVN revision 20389]
FIX (#2655): Added Measurement icon for documentation, fixed updating of textbrowser, reactivated splash (was accidentally removed, how could this happen...?)

[SVN revision 20398]
FIX (#2655): Before drawing figures it is assured that the planes are hidden

[SVN revision 20406]
FIX (#2655): For drawing circles: changed tooltip from "Ellipse" to "Circle"

[SVN revision 20417]
FIX (#2655): Fixed Measurement Icon for perspective

[SVN revision 20420]
FIX (#2655): Info text field gets not populated until figure is initialized

[SVN revision 20510]
FIX (#2655): Using activated/deactivated in view, added documentation, added absolute calculation of area in rectanvgle

[SVN revision 20537]
FIX (#2655): Diameter has right unit now

[SVN revision 20570]
FIX (#2655): Removed reinit of image in Measurement View

Removing 3M3 keyword. all relevant bugs closed.

[SVN revision 20632]
FIX (#2655): fix view layout

[SVN revision 20639]
FIX (#2655): Fixed wrong image statistics calculation due to wrong pixel center.

[SVN revision 20802]
FIX (#2655): Re-integrate pixel-center fix in image statistics calculation from branch to trunk

(In reply to comment #53)

[SVN revision 20802]
FIX (#2655): Re-integrate pixel-center fix in image statistics calculation from
branch to trunk

With the fixes applied in r20639 and r20802 the statistics seems to be calculated correctly now. Tested on non-isotropic images in axial and sagittal planes.

The question when a pixel will be regarded as "inside" of a planar figure for statistics ROI calculation is probably a matter of definition. With the above fixes, the VTK algorithm currently used seems to handle this in a reasonable way. When the planar figure ROI includes a large enough portion (50%?) of a pixel, it is included, otherwise not. Of course this also means that if the ROI is too small, no pixel will be included at all.

meta bug -> no relevance for 1.0 (maybe its dependencies)

[SVN revision 21528]
FIX (#2655): properly unregistering AddNodeEvent delegate in view destructor

[SVN revision 21739]
FIX (#2655): Latin1-encoded versions of degree and squared symbols are not compatible with VTK rendering; reverting to "^2" and "deg"

closing meta bug for measurement tools

Merging "applicazion modules" component with "ExtApp plugins"

kislinsk reopened subtask Restricted Maniphest Task as Open.Jun 27 2018, 3:03 PM
kislinsk reopened subtask Restricted Maniphest Task as Open.Jun 27 2018, 3:07 PM
kislinsk closed subtask Restricted Maniphest Task as Resolved.Jun 27 2018, 3:29 PM
kislinsk closed subtask Restricted Maniphest Task as Resolved.Jun 27 2018, 3:32 PM