Providing an image would be great, thank you!

From: Amir Zolal [mailto:amirzo...@gmail.com]
Sent: Donnerstag, 17. März 2016 14:05
To: Kolb, Christoph
Cc: mitk-users@lists.sourceforge.net
Subject: Re: [mitk-users] Camera turning after Reinit

These are NIFTI files, after loading the orientation is OK, after Reinit (or 
after creating the Segmentation image), the axial view is flipped upside down. 
I can provide a file once I get home.


I was refering to my previous conversation with Andreas:

Hi Amir,

please keep the conversation on the list, so that other MITK users can benefit 
from it as well.

Thank you very much for your feedback! We are currently reworking the region 
growing tool and also working on a bug that leads to sudden crashed during 
manual segmentation.
So the bugs you describe might be fixed soon.

As for the flipped image: I think this is related to the following issue: 
http://bugs.mitk.org/show_bug.cgi?id=8350

Please note that the image itself is not flipped but the camera from which we 
look at the image.
However I understand that it is annoying if the image is suddenly upside down. 
It would be very helpful if you could provide the dataset so that we can 
reproduce the behaviour.

If you find further issues feel free to open a new bug in our bug tracking 
system: http://bugs.mitk.org<http://bugs.mitk.org/>


Best,

Andreas

2016-03-17 14:01 GMT+01:00 Kolb, Christoph 
<c.k...@dkfz-heidelberg.de<mailto:c.k...@dkfz-heidelberg.de>>:
Hello Amir,

can you please tell which bug you are referring to? Mitk initializes the 
standard view directions
(axial, sagittal and coronal) under the assumption that the directions are 
correctly defined in the
image data. in NRRD files, die world coordinate system is defined by the "space 
directions" matrix.

I think we had some problems with the "AnatomicalOrientation" specifier in MHA 
files. What kind of
images are you loading?

To answer your actual question: You can rotate the camera directly by modifying 
the vtkCamera:
mitk::BaseRenderer::GetVtkRenderer()->GetActiveCamera()->SetViewUp
But the camera rotation will always reset to the original after you interacted 
with the render
window.

Regards
Christoph

On Wed, 2016-03-16 at 19:16 +0100, Amir Zolal wrote:
> Hello Mitkers,
>
> is there a way to manually turn the camera to the right orientation after 
> reinit? The axial image
> still gets turned upside down. Is manual correction possible until the bug is 
> fixed?
>
> Amir

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to