Hi Felix,

how do you get the PlaneGeometry which is set for writing the slice? You should 
retrieve the according PlaneGeometry like it is done e.g. in the 
mitkSegTool2D::WriteBackSegmentationResult. If this doesn't solve your problem 
it would be helpful if you could post your code here.

Regards
Andreas

On 11.01.2013, at 21:15, Félix C. Morency wrote:

> Hi list,
> 
> I am trying to overwrite a slice of arbitrary orientation in a volume and I'm 
> facing some issues. I based my code on the 
> mitkOverwriteSliceFilterObliquePlaneTest. When my axis planes are oriented by 
> default (axial/coronal/sagittal), everything's going fine and the slice is 
> written properly [1].
> 
> However, if I change the plane orientations using the coupled crosshair 
> rotation tool, my slice is full of holes [2]. I tried playing with 
> SetInPlaneResampleExtentByGeometry and with SetResliceTransformByGeometry 
> without any luck. My initial guess is that it has something to do with slice 
> sampling and current geometry. Does anyone have a clue on how to solve my 
> problem? The objective is to fill the entire slice with the same value.
> 
>   [1]: http://imgur.com/Ru4Nm
>   [2]: http://imgur.com/FzCwx
> 
> Regards, 
> -- 
> Félix C. Morency, M.Sc.
> Plateforme d’analyse et de visualisation d’images
> Centre Hospitalier Universitaire de Sherbrooke
> Centre de recherche clinique Étienne-Le Bel
> Local Z5-3031 | 819.346.1110 ext 16634
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812_______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to