Hi Nil,

I found a workaround by discarding the custom shaders and simply using two VTK 
clipping planes. This makes the fibers visible in 2D again. Unfortunately it 
does not include the nice fading effect of the fibers with growing distance 
from the view plane. For this I have to fix the actual shader issue, which is a 
real pain because the shaders are impossible to debug.


Peter


________________________________
Von: Nil Goyette <nil.goye...@imeka.ca>
Gesendet: Donnerstag, 28. Oktober 2021 15:19
An: Neher, Peter
Cc: mitk-users@lists.sourceforge.net
Betreff: Re: [mitk-users] 2D FiberBundleMapper

Hi Peter,

Excellent news! I subscribed to that task. I can cherry-pick your commits and 
test if you need it.
It may not be a priority right now for my boss, but I kinda want to do a 
2021.02 release :) The 2D fibers mapper is the only missing part.
Thanks.

Le jeu. 28 oct. 2021, à 05 h 47, Neher, Peter 
<p.ne...@dkfz-heidelberg.de<mailto:p.ne...@dkfz-heidelberg.de>> a écrit :

Looks like I already started with that before I left in February :)

I can reproduce the bug and I will try to look into it. Here is the 
corresponding task:

https://phabricator.mitk.org/T28772



Best,

Peter



________________________________
Von: Nil Goyette <nil.goye...@imeka.ca<mailto:nil.goye...@imeka.ca>>
Gesendet: Mittwoch, 27. Oktober 2021 17:22
An: Neher, Peter
Cc: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: Re: [mitk-users] 2D FiberBundleMapper

Hi Peter,

I understand, I had the same kid "problem" last year :)
No, I didn't investigate more. Our program based on MITK is not a priority 
right now and I've put enough time on that bug to be discouraged, so I was 
waiting for an easy answer!
I'll wait and hope that you accidentally reproduce this bug when you update 
your dependencies.
Thanks for the answer.

Le mar. 26 oct. 2021, à 03 h 32, Neher, Peter 
<p.ne...@dkfz-heidelberg.de<mailto:p.ne...@dkfz-heidelberg.de>> a écrit :

Hi Nil,



sorry for getting back to you on this so late. I was on parental leave until 
yesterday.



Regarding your problem with VTK9, I unfortunately don't have any experience 
with this yet. I am planning to get on this in the next months, since we will 
have new projects that are going to be based on MITK Diffusion. As soon as I 
have any insights there I can let you know. If you already made progress, we 
are of course happy for contributions! I know, this is probably not the answer 
you hoped for. Sorry about that :)



Best,

Peter



________________________________
Von: Nil Goyette <nil.goye...@imeka.ca<mailto:nil.goye...@imeka.ca>>
Gesendet: Dienstag, 28. September 2021 18:48
An: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: Re: [mitk-users] 2D FiberBundleMapper

Hi all,

Anyone can help me with this problem? If Peter Neher is still around, he's the 
best person to answer this question.

Nil


Le jeu. 9 sept. 2021, à 13 h 04, Nil Goyette 
<nil.goye...@imeka.ca<mailto:nil.goye...@imeka.ca>> a écrit :
Hi all,

I've been trying to port our application to MITK 2021.02. I usually look at 
mitk-diffusion because we both work with the FiberBundle class and this helps 
me a lot! (Thank you Peter). However, I have a problem that I'm unable to 
solve. The 2D FiberBundle doesn't seem to work with vtk9. See 
https://i.imgur.com/d8I2PtP.png

  *   The crosshair is in the middle of a set of streamlines but we only see 
them in the sagittal view. If I want to see them in the other views, I need to 
place the crosshair at a "random" location. To see them in all views, I need to 
be at a weird location that is not the center of the image.
  *   The streamlines are visible only in 3 slices. If I go further than that, 
they simply disappear.
  *   But they are completely visible like in the 3D view. I tried changing the 
Fiber2DSliceThickness property. To have an "acceptable" result, I need to use a 
really small number like 0.01. The screenshot above is using 0.1. At 0.5, I can 
see the whole streamlines.
  *   It's as if the streamlines are not where we see them. As if they were 
really tiny.
  *   Or the shaders are simply broken on vtk9.
I can clearly see that the mapper in mitk-diffusion (latest release using VTK 
8.1.0) works, so I tried removing our modifications as much as possible to be 
as identical to mitk-diffusion as possible. I'm using the same TrackVis loader, 
FiberBundle, mapper 2D 3D, etc. It didn't change anything.

At that point, I'm already at several days of debugging, I don't know what to 
try and I would gladly accept any help!

Nil

During this time of social distancing, we offer free webinars on subjects that 
matter.<https://www.imeka.ca/webinars/>
[https://www.imeka.ca/app/uploads/2021/03/logo-imeka-nom-10years-dark-fond-blanc-e1616690355918.png]
CONFIDENTIALITY NOTICE: This message, and any attachments, is intended only for 
the use of the addressee or his authorized representative. It may contain 
information that is privileged, confidential and exempt from disclosure under 
applicable law. If the reader of this message is not the intended recipient, or 
his authorized representative, you are hereby notified that any dissemination, 
distribution or copying of this message and any attachments is strictly 
prohibited. The integrity of this message cannot be guaranteed on the Internet, 
IMEKA shall not be liable for its content if altered, changed or falsified. If 
you have received this message in error, please contact immediately the sender 
and delete this message and any attachments from your system.


AVIS DE CONFIDENTIALITÉ : Ce message, ainsi que tout fichier qui y est joint, 
est destiné exclusivement aux personnes à qui il est adressé. Il peut contenir 
des informations de nature confidentielle qui ne doivent être divulguées en 
vertu des lois applicables. Si vous n'êtes pas le destinataire de ce message ou 
un mandataire autorisé de celui-ci, vous êtes avisé par la présente que toute 
impression, diffusion, distribution ou reproduction de ce message et de tout 
fichier qui y est joint est strictement interdite. L'intégrité de ce message 
n'étant pas assurée sur Internet, IMEKA ne peut être tenue responsable de son 
contenu s'il a été altéré, déformé ou falsifié. Si ce message vous a été 
transmis par erreur, veuillez en aviser sans délai l'expéditeur et l'effacer 
ainsi que tout fichier joint sans en conserver de copie.
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to