Page MenuHomePhabricator
Feed Advanced Search

Aug 2 2016

hettich added a comment to T18662: odf glyphs are not rendered if image has negative entry in direction matrix.

see also http://bugs.mitk.org/show_bug.cgi?id=11477

Aug 2 2016, 10:18 AM · Bugzilla, MITK
hettich added a comment to T18662: odf glyphs are not rendered if image has negative entry in direction matrix.

dti/nrrd file with negative component in matrix, manipulated by hand

Aug 2 2016, 10:18 AM · Bugzilla, MITK
hettich added a comment to T18663: odf visualization does not work in rotated planes.

(In reply to Peter Neher from comment #0)

Aug 2 2016, 10:18 AM · Auto-closed, Bugzilla, MITK
hettich added a comment to T18662: odf glyphs are not rendered if image has negative entry in direction matrix.

crazy, it works when there is a positive geometry node present in DataManager

Screenshot - 26.08.2015 - 16:11:21.png (1×3 px, 413 KB)

Aug 2 2016, 10:18 AM · Bugzilla, MITK
hettich added a comment to F1211: Bundle_0_D20-20-3_S2-2-2_b1000_StickBall_RELAX_EigenvalueCorrected_DT.dti.

dti file with negative component in matrix, manipulated by hand

Aug 2 2016, 10:18 AM
hettich added a comment to T18662: odf glyphs are not rendered if image has negative entry in direction matrix.

screenshot

Screenshot - 26.08.2015 - 15:45:49.png (1×3 px, 611 KB)

Aug 2 2016, 10:18 AM · Bugzilla, MITK
hettich added a comment to F1210: Screenshot - 26.08.2015 - 15:45:49.png.

screenshot

Aug 2 2016, 10:18 AM
hettich added a comment to T18662: odf glyphs are not rendered if image has negative entry in direction matrix.

Am I reading this right ?
"negative entry in direction matrix" means the IndexToWorldTransform geometry matrix as shown by selecting a node in Data Manager, right click -> 'Details...'.

Aug 2 2016, 10:18 AM · Bugzilla, MITK
hettich added a comment to T17418: MITK does not use the information about image orientation type.

(In reply to mdhettich from comment #3)
"NRRD.space " in the details window is from itk and already corrected
when loaded into MITK by itk by changing the indextoworld matrix
appropriately.
I rechecked this bug again, discussed with the team and especially Caspar,
and we concurr that this bug is fixed now.

Aug 2 2016, 10:11 AM · MITK (2016-03), Bugzilla
hettich added a comment to T17418: MITK does not use the information about image orientation type.

(In reply to mdhettich from comment #3)
to clarify: lacking a nrrd-file that is not
space: left-posterior-superior

Aug 2 2016, 10:11 AM · MITK (2016-03), Bugzilla
hettich added a comment to T17418: MITK does not use the information about image orientation type.

Es funktioniert jetzt, aber die angezeigten Details stimmen nicht mit dem nrrd-file überein.

Screenshot - 10.02.2016 - 16:42:36.png (1×3 px, 794 KB)

Aug 2 2016, 10:11 AM · MITK (2016-03), Bugzilla
hettich added a comment to F1104: Screenshot - 10.02.2016 - 16:42:36.png.

It works.

Aug 2 2016, 10:11 AM
hettich added a comment to T16772: Image disappears in all views after reinit..

lefthanded coordinate orientations are not well liked by 'Reinit',
I think because of ensurePerpendicularNormal().

Aug 2 2016, 10:09 AM · Bugzilla, MITK
hettich added a comment to T11477: brain.mhd dataset and reinit.

[8e0b85]: Merge branch 'bug-11477-Integration-HandednessAwarePlaneGeometry'

Merged commits:

2016-01-04 14:51:30 Martin Hettich [16f825]
core change bug-11477-Integration-HandednessAwarePlaneGeometry

Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.

(In reply to Andreas Fetzer from comment #31)

But still in these cases I suggest to add some documentation to the API
(just that the overloaded versions create only righthanded orientations)

Done.

Another point just occurred to me:
The cmath header, you included is not needed. Please remove this header as
well.

Done.

Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.

(In reply to Git Admin from comment #33)

User hettich has pushed new remote branch:

bug-11477-Integration-HandednessAwarePlaneGeometry
Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.
  1. Please remove the ciso646 include and stick to the regular C++ operators.

We try to have a consistent coding style especially in the core.

Done.

Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.

Actual behavior:

see discussions above and #18114, #16772.
Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.

(In reply to Stefan Kislinskiy from comment #22)

Thank you for figuring out the actual problem.

My pleasure.

Displaying the directions is a subproject of Sarina's introductory project.
So no redundant work here please. :)

Great!

I didn't yet have a look at the branch but pushing core changes in order to
receive more feedback is not what will lead to a core modification flag.
Options are, for example, to ask a few fellow bug squashers next Wednesday
for testing your branch. Anyways, this seems to be a perfect case for
writing tests. The latter I would require for giving the flag.

Yes, you're right of course, sorry for my overeagerness.
Tests, yes please, lets write proper unit test.
Btw, were previous tests unaware of lefthanded geometries, i wonder?

Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.

bug-11477-lefthanded-and-righthanded-geometries works now for brain.mdh and other data with lefthanded, but I'm still testing this patch. Work in progress, Ordem et Progresso, Cavet Canem, etc. pp.

Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.

Does not work correctly, yet. We'll get it there, hopefully before christmas.

Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla
hettich added a comment to T11477: brain.mhd dataset and reinit.

(In reply to mdhettich from comment #18)

bug-11477-lefthanded-and-righthanded-geometries works now for brain.mdh and
other data with lefthanded, but I'm still testing this patch. Work in
progress, Ordem et Progresso, Cavet Canem, etc. pp.

Aug 2 2016, 9:52 AM · MITK (2016-03), Bugzilla