Page MenuHomePhabricator
Feed Advanced Search

Dec 21 2016

espak committed rMITK8cb185bf9019: Correct handedness of coronal renderer geometries (authored by espak).
Correct handedness of coronal renderer geometries
Dec 21 2016, 12:00 PM
espak committed rMITK7fcff1313aec: Compose sliced geometries of planes with matching normal (authored by espak).
Compose sliced geometries of planes with matching normal
Dec 21 2016, 12:00 PM

Dec 20 2016

espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

A bit of an explanation about the last commit:

Dec 20 2016, 1:45 PM · Pull Request, MITK (2016-11)

Dec 19 2016

espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

Sorry, silly mistake. :-(

Dec 19 2016, 7:29 PM · Pull Request, MITK (2016-11)
espak committed rMITK8fcd82ec6327: Correct handedness of coronal renderer geometries (authored by espak).
Correct handedness of coronal renderer geometries
Dec 19 2016, 12:52 PM
espak committed rMITK1ca1a7b0574e: Compose sliced geometries of planes with matching normal (authored by espak).
Compose sliced geometries of planes with matching normal
Dec 19 2016, 12:52 PM
espak committed rMITKb72ab904c95e: Invert slider control directions in image navigator (authored by espak).
Invert slider control directions in image navigator
Dec 19 2016, 12:52 PM
espak committed rMITK113870ce6283: Invert directions in image navigator according to reference geometry (authored by espak).
Invert directions in image navigator according to reference geometry
Dec 19 2016, 12:52 PM
espak committed rMITK1b9d9bc730c8: Translate input geometry to world space for calculating sliced geometry planes (authored by espak).
Translate input geometry to world space for calculating sliced geometry planes
Dec 19 2016, 12:52 PM
espak committed rMITK1e8992d9dd91: Equality checks when setting data storage for renderers (authored by espak).
Equality checks when setting data storage for renderers
Dec 19 2016, 12:52 PM
espak committed rMITK07c480bf27a9: Turn spacing vector to world coordinate order for bounding box geometry… (authored by espak).
Turn spacing vector to world coordinate order for bounding box geometry…
Dec 19 2016, 12:52 PM
espak committed rMITK23fa66f513d7: Correcting origin and bounds for geometry calculated from data storage (authored by espak).
Correcting origin and bounds for geometry calculated from data storage
Dec 19 2016, 12:52 PM
espak committed rMITK3caebdcb3d5e: Current world position re-calculated before updating status bar (authored by espak).
Current world position re-calculated before updating status bar
Dec 19 2016, 12:52 PM
espak committed rMITK6f6d9bf6ddfb: SlicedGeometry3D::GetReferenceGeometry() function for API consistency (authored by espak).
SlicedGeometry3D::GetReferenceGeometry() function for API consistency
Dec 19 2016, 12:52 PM

Dec 16 2016

espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

And another glitch that is even more minor.

Dec 16 2016, 1:50 PM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

So, PR172 should now contain all the proposed changes.

Dec 16 2016, 12:40 PM · Pull Request, MITK (2016-11)

Dec 15 2016

espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

PR160 was based on master, originally.

Dec 15 2016, 2:27 PM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

I tried the first commit of PR172 that is supposed to resolve this, but on top of rMITKc5b9d75 it makes the render windows blank.

Dec 15 2016, 12:06 PM · Pull Request, MITK (2016-11)

Dec 13 2016

espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

I updated PR172 with two commits from PR161.

Dec 13 2016, 5:29 PM · Pull Request, MITK (2016-11)
espak added a comment to T17462: Index coordinates of ImageNavigator and StatusBar inconsistent.

New task opened under T22113.
I closed PR152, and PR161 for T22113.

Dec 13 2016, 3:43 PM · Auto-closed, Bugzilla, MITK

Dec 12 2016

espak added a comment to T22114: re-init does not work with images with flipped axes.

Just for the record. I closed PR160 and pushed an almost identical pull request for T22254.

Dec 12 2016, 6:22 PM · MITK
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

I am not sure what is the 'None' plane orientation supposed to mean. I added 'None' as the same as the 'Axial' case, as I saw at another place in the same file, here:

Dec 12 2016, 5:43 PM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

I guess, it should be "releases/2016-11-beta" but that is not pushed to github, so I create the PR against master.

Dec 12 2016, 5:19 PM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

What should be the target branch of the updated PR?

Dec 12 2016, 5:14 PM · Pull Request, MITK (2016-11)

Dec 9 2016

espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

Note that if this gets accepted, it will probably validate T22113, that means after PR160 (or similar) you will need PR161 (or similar) to see correct indices in the image navigator.

Dec 9 2016, 12:08 PM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

You are welcome.

Dec 9 2016, 10:19 AM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

Sorry, this was after global re-init, as you can see it in the sagittal window.
Here is the screenshot after re-init, with texture interpolation off.

Screen Shot 2016-12-09 at 08.54.51.png (1×2 px, 253 KB)

Dec 9 2016, 9:48 AM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

Here it is:

Screen Shot 2016-12-09 at 08.48.38.png (1×2 px, 309 KB)

Dec 9 2016, 9:42 AM · Pull Request, MITK (2016-11)

Dec 8 2016

espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

Hmmm...
This is probably because I mostly tested the changes on 2015.05.2 and a new orientation type has been introduced since then ('None').

Dec 8 2016, 2:49 PM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

I see. Many users find the direction annotations useful, even if they are always in the same place, e.g. because they also use other viewers that follow different conventions. It must always be evident how the image is oriented.

Dec 8 2016, 2:18 PM · Pull Request, MITK (2016-11)
espak added a comment to T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.

My implementation uses a class derived from vtkCornerAnnotation that overrides some functions so that it can display annotations on the sides of the window, not on its corners. But I am not sure that this solution fits in the new overlay/annotation service.

Dec 8 2016, 1:20 PM · Pull Request, MITK (2016-11)

Dec 6 2016

espak updated the task description for T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.
Dec 6 2016, 1:55 PM · Pull Request, MITK (2016-11)
espak created T22254: Render windows show *not* the corresponding orientation after reinit with permuted axes.
Dec 6 2016, 1:53 PM · Pull Request, MITK (2016-11)

Dec 5 2016

espak added a comment to T22113: Image navigator should show image indices after re-init.

I tested this again with the latest master and the indices look correct now. I tried images with flipped, permuted and rotated axes, the indices were the same as on the status bar. (After reinit. After global reinit they were inverted iff the corresponding image axis was flipped. This is correct.)

Dec 5 2016, 8:43 PM · MITK
espak closed T22114: re-init does not work with images with flipped axes as Invalid.
Dec 5 2016, 8:31 PM · MITK
espak closed T22114: re-init does not work with images with flipped axes, a subtask of T19632: Reinit behavior in mirrored datasets, as Invalid.
Dec 5 2016, 8:31 PM · Bugzilla, MITK
espak added a comment to T22114: re-init does not work with images with flipped axes.

I made a clean build on linux and mac of the latest master. On linux my test images are displayed correctly, both after re-init and global re-init. I tried images with flipped, permuted and rotated axes, they all looked fine.

Dec 5 2016, 8:30 PM · MITK
espak added a comment to T22114: re-init does not work with images with flipped axes.

I get the same blank windows when opening the nifties with bfcf1f07676058b32bee39f295ea1019013943ec.
I did a superbuild and deleted the plugin cache.

Dec 5 2016, 6:23 PM · MITK
espak added a comment to T22114: re-init does not work with images with flipped axes.

Is it the nifti image or it was converted to nrrd?
If nrrd, would you mind attaching it to this task if it is not too much of a hassle?

Dec 5 2016, 5:42 PM · MITK
espak added a comment to T22114: re-init does not work with images with flipped axes.

We have a utility to generate 3D test images with check pattern with any rotation matrix but it cannot save nrrd because the nrrd writer service is in DiffusionIO and we disabled the diffusion stuff because we do not really need it. I am trying to enable it but it has so many dependencies (even in ITK and VTK) that it is not easy. By the way, would you guys accept a PR for moving the nrrd writer service to MitkIOExt?

Dec 5 2016, 5:24 PM · MITK
espak added a comment to T22113: Image navigator should show image indices after re-init.

The aim is to see the original image indices in the image navigator. If there was global re-init, you are in world coordinate system, so nothing changes. Dragging the sliders from left to right always increases the index, and moves in the same direction in world. (Under 'same' I mean regardless how many and what type of data is loaded.)

Dec 5 2016, 4:37 PM · MITK
espak added a comment to T20180: Axial renderer origin in top-left-front corner, not in the bottom-left-back.
Dec 5 2016, 3:53 PM · Request for Discussion, MITK
espak added a comment to T22114: re-init does not work with images with flipped axes.

Actually, this might fail also because the nifti reader in MITK (ITK) is broken. We are using a patched nifti reader.

Dec 5 2016, 2:10 PM · MITK
espak added a comment to T22114: re-init does not work with images with flipped axes.

Here are some:

Dec 5 2016, 12:13 PM · MITK
espak added a comment to T17812: SlicedGeometry3D initialisation fix for non-image geometries.

Before you make any action on this ticket, (e.g. closing it without action), it would be good to have an overall discussion about the geometry related issues.

Dec 5 2016, 11:47 AM · Auto-closed, Bugzilla, MITK
espak added a comment to T20180: Axial renderer origin in top-left-front corner, not in the bottom-left-back.

Can we have a talk on hangout or skype?

Dec 5 2016, 8:55 AM · Request for Discussion, MITK

Nov 29 2016

espak added a comment to T22117: Previous position shown on status bar after scrolling through slices.
Nov 29 2016, 12:43 PM · MITK (2016-11)
espak added a comment to T22117: Previous position shown on status bar after scrolling through slices.
Nov 29 2016, 12:41 PM · MITK (2016-11)

Nov 25 2016

espak added a comment to T20180: Axial renderer origin in top-left-front corner, not in the bottom-left-back.

Thanks for the clarification, it's much more clear now. :-)

Nov 25 2016, 6:59 PM · Request for Discussion, MITK
espak added a comment to T20180: Axial renderer origin in top-left-front corner, not in the bottom-left-back.

Yes, I meant that page. In the first section about world coordinates, line 5 and 6.
Did I misunderstand something?

Nov 25 2016, 1:22 PM · Request for Discussion, MITK
espak added a comment to T22163: "Crosshair.Gap Size unit" property.

All right.

Nov 25 2016, 11:59 AM · MITK

Nov 24 2016

espak added a comment to T22163: "Crosshair.Gap Size unit" property.

I implemented it on our fork. I can prepare a pull request based on master if you want to take it.

Nov 24 2016, 7:32 PM · MITK

Nov 23 2016

espak added a comment to T20180: Axial renderer origin in top-left-front corner, not in the bottom-left-back.

I have to add little corrections about the assertions. So, all together there five commits to take. In reverse chronological order:

Nov 23 2016, 9:37 PM · Request for Discussion, MITK
espak updated the task description for T22163: "Crosshair.Gap Size unit" property.
Nov 23 2016, 6:55 PM · MITK
espak added a comment to T22112: Scrolling direction should be interpreted in world space.

Thinking more about it, I think this is invalid. The scrolling direction was wrong because the renderer geometries had different handedness. The coronal renderer was left-handed, the other two was right-handed. This means that scrolling up in the coronal window brought you to the slice that was *ahead* of the current slice, not behind. Scrolling up in the other two renderers brought you to the slice behind the current one, as expected.

Nov 23 2016, 6:09 PM · MITK
espak created T22163: "Crosshair.Gap Size unit" property.
Nov 23 2016, 1:36 PM · MITK
espak created T22161: Possible nullptr dereferencing in plane geometry 3D mapper.
Nov 23 2016, 11:16 AM · MITK

Nov 22 2016

espak added a comment to T11113: MITK doesn't visualize normalized and thus very small meshes in the expected way..

The problem is that the renderer geometries are shifted by half a voxel along the renderer plane normal compared to the 'reference' geometry.

Nov 22 2016, 8:44 PM · Pull Request, MITK, Bugzilla
espak added a comment to T20180: Axial renderer origin in top-left-front corner, not in the bottom-left-back.

I have a fix for this.

Nov 22 2016, 8:07 PM · Request for Discussion, MITK
espak added a comment to T19632: Reinit behavior in mirrored datasets.

Guys, did you try my fix for T22114?

Nov 22 2016, 7:00 PM · Bugzilla, MITK

Nov 21 2016

espak added a comment to T22144: Rename 'input' geometry to 'reference' geometry in slice navigation controller function names.

And at the same time the 'Created' could be removed from the function names as these return the geometries that the slice navigation controller currently has (time and 3D, respectively).

Nov 21 2016, 4:10 PM · Auto-closed, MITK
espak created T22144: Rename 'input' geometry to 'reference' geometry in slice navigation controller function names.
Nov 21 2016, 3:58 PM · Auto-closed, MITK
espak added a comment to T22112: Scrolling direction should be interpreted in world space.

I updated the PR. Just some tidying up.

Nov 21 2016, 2:54 PM · MITK
espak added a comment to T22113: Image navigator should show image indices after re-init.

I updated the PR with adding a nullptr check for now, and with more detailed comment.

Nov 21 2016, 2:38 PM · MITK
espak added a comment to T17812: SlicedGeometry3D initialisation fix for non-image geometries.

It sound like that T11113 definitely validates this issue in the sense that it does not just 'seem to be' wrong but can cause actual problems.

Nov 21 2016, 10:45 AM · Auto-closed, Bugzilla, MITK
espak added a comment to T17812: SlicedGeometry3D initialisation fix for non-image geometries.

If you want to resolve the original issue (half voxel shift of renderer geometries) properly, I see two ways.

Nov 21 2016, 10:21 AM · Auto-closed, Bugzilla, MITK
espak added a comment to T17812: SlicedGeometry3D initialisation fix for non-image geometries.

I still think that this issue is valid but it is not very important for me any more. I noticed the half voxel shift of renderer geometries compared to their input geometry, when I tried to initialise a renderer based on a geometry of another renderer.

Nov 21 2016, 9:44 AM · Auto-closed, Bugzilla, MITK

Nov 18 2016

espak committed rMITK1683b0fe98b0: Turn spacing vector to world coordinate order for bounding box geometry… (authored by espak).
Turn spacing vector to world coordinate order for bounding box geometry…
Nov 18 2016, 4:40 PM
espak committed rMITK978eb631c6a3: Correcting origin and bounds for geometry calculated from data storage (authored by espak).
Correcting origin and bounds for geometry calculated from data storage
Nov 18 2016, 4:39 PM
espak added a comment to T19442: Use different variable to work around DCMTK config mode problems.

Are you sure that this is the right patch? I do not see any reference to boost or eigen.

Nov 18 2016, 3:17 PM · MITK (2016-11), Bugzilla
espak added a comment to T19442: Use different variable to work around DCMTK config mode problems.

Sorry, my last comment was not on your new patch.

Nov 18 2016, 2:58 PM · MITK (2016-11), Bugzilla
espak added a comment to T19442: Use different variable to work around DCMTK config mode problems.

It was not working that time (v2015.05.2) because of the reason I detailed above. I did not try it again with the current master.

Nov 18 2016, 2:42 PM · MITK (2016-11), Bugzilla
espak added a comment to T19266: ToolManager should not instantiate every Tool class automatically.

Do you want to switch to a microservice-based tool framework and retire the old tools at the same time?

Nov 18 2016, 12:39 PM · Auto-closed, Bugzilla, MITK

Nov 17 2016

espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

Another thing.

Nov 17 2016, 7:22 PM · Auto-closed, MITK
espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

Yes, it is a general design problem. It is an anti-pattern, I would say. A big NO. :)

Nov 17 2016, 7:05 PM · Auto-closed, MITK
espak updated subscribers of T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.
Nov 17 2016, 5:29 PM · Auto-closed, MITK
espak committed rMITK63abdd39b683: Equality checks when setting data storage for renderers (authored by espak).
Equality checks when setting data storage for renderers
Nov 17 2016, 4:45 PM
espak added a comment to T22112: Scrolling direction should be interpreted in world space.

these might be not the right directions

Nov 17 2016, 4:41 PM · MITK
espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

I do not think that the comment on DeleteEvent is valid.

Nov 17 2016, 4:14 PM · Auto-closed, MITK
espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

I just realised that I already created an issue for this early last year:

Nov 17 2016, 4:10 PM · Auto-closed, MITK
espak committed rMITKe64154ced33e: Current world position re-calculated before updating status bar (authored by espak).
Current world position re-calculated before updating status bar
Nov 17 2016, 4:07 PM
espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

This proposal is not a feature request but it describes a quite a sever bug with a lot of unforeseeable consequences. I try to explain it better.

Nov 17 2016, 3:54 PM · Auto-closed, MITK
espak committed rMITK7cbcdad3e42c: SlicedGeometry3D::GetReferenceGeometry() function for API consistency (authored by espak).
SlicedGeometry3D::GetReferenceGeometry() function for API consistency
Nov 17 2016, 3:44 PM
espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

T16895 is also the same problem. I described the issue and sent a PR almost three years ago. (It was not even commented on.) This ticket proposes a more general solution, though.

Nov 17 2016, 11:00 AM · Auto-closed, MITK

Nov 16 2016

espak added a comment to T22113: Image navigator should show image indices after re-init.

A bit smarter solution would be to use ctkSliderWidget for the index positions. ctkSliderWidget integrates a Qt slider and spin box in a single widget. The signals are connected, so that if you change the slider, the spin box changes accordingly and vice versa.

Nov 16 2016, 6:33 PM · MITK
espak added a comment to T22113: Image navigator should show image indices after re-init.

The code crashes because of T22122.

Nov 16 2016, 4:01 PM · MITK
espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

I agree that rewriting the basic classes in MitkCore would be a long and cumbersome work, but it is not so difficult, and it can be done systematically. In turn, you could get a much more robust and responsive application, and you could save a lot of time that would be spent with debugging later, otherwise.

Nov 16 2016, 3:55 PM · Auto-closed, MITK
espak added a comment to T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.

This is related to T16895.

Nov 16 2016, 3:46 PM · Auto-closed, MITK
espak created T22122: Eliminate uses of itkSetMacro, introduce blocking/unblocking events.
Nov 16 2016, 3:45 PM · Auto-closed, MITK
espak added a comment to T22117: Previous position shown on status bar after scrolling through slices.

https://github.com/MITK/MITK/pull/163

Nov 16 2016, 9:22 AM · MITK (2016-11)
espak created T22117: Previous position shown on status bar after scrolling through slices.
Nov 16 2016, 9:00 AM · MITK (2016-11)

Nov 15 2016

espak added a comment to T22112: Scrolling direction should be interpreted in world space.

https://github.com/MITK/MITK/pull/162

Nov 15 2016, 8:48 PM · MITK
espak added a comment to T22113: Image navigator should show image indices after re-init.

https://github.com/MITK/MITK/pull/161

Nov 15 2016, 8:39 PM · MITK
espak added a comment to T22114: re-init does not work with images with flipped axes.

https://github.com/MITK/MITK/pull/160

Nov 15 2016, 8:38 PM · MITK
espak created T22114: re-init does not work with images with flipped axes.
Nov 15 2016, 8:34 PM · MITK
espak created T22113: Image navigator should show image indices after re-init.
Nov 15 2016, 8:19 PM · MITK
espak added a comment to T22112: Scrolling direction should be interpreted in world space.

Note that in terms of T8802, these might be not the right directions. However, this should be handled in the interactor, in my opinion.

Nov 15 2016, 8:10 PM · MITK
espak created T22112: Scrolling direction should be interpreted in world space.
Nov 15 2016, 7:34 PM · MITK

Nov 10 2016

espak added a comment to T17462: Index coordinates of ImageNavigator and StatusBar inconsistent.

PR sent:
https://github.com/MITK/MITK/pull/152

Nov 10 2016, 7:04 PM · Auto-closed, Bugzilla, MITK

Nov 9 2016

espak reopened T20180: Axial renderer origin in top-left-front corner, not in the bottom-left-back as "Open".
Nov 9 2016, 2:53 PM · Request for Discussion, MITK