-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast marching effect : crash may occur #44
Comments
vtkPichonFastMarching filter is research code, never got really cleaned up, hardened, or optimized. The main reason is that while it is useful, it is not that useful in practice compared to other algorithms, such as fast grow-cut (in Grow from seeds effect). Nevertheless, if you can give step-by-step instructions for reproducing the crash then I might be able to take a look. The backtrace is useful, and normally it could be sufficient to identify and fix an error, but it is not enough in this case because there are so many things wrong in this class. |
The crash is reproducible in this dataset (I had it on others too). Just do a single paint stroke at 3% in the thrombus of the aneurysm, or any paint stroke anywhere. Slicer crashes then more often. Sometimes it's on first initialization of 'Fast marching'. Now it's not an immediate problem, I don't use it everyday, and probably would be seldom using it. I just found that its very useful to segment thrombus in big aneurysms and to segment veins. Thank you for willing to look into this. |
What do you think about this deal: I fix this issue, and you create a video tutorial of how you use it for thromvus and vein segmentation (no need for voice, subtitles are enough). Are you in? |
Good deal ! Here is a link for segmenting abdomino-pelvic veins. Basically, seed the vein with 'Draw tube', then apply 'Fast marching' with low 'Maximum volume' values (2% to 5%), adjust with 'Segment volume' (can be as low as < 1%), check throughout for some residual leaks (usually 3rd - 4th duodenum, or muscle) and erase the minimal leaks. Do multiple segmentations, with veins of more or less same diameter, and also, with intensity distribution quite even. Then combine all segments with logical operators in a new segment, 'Fill holes' smoothing, and optionally 'Joint smoothing'. 'Fast marching' has 2 particulars :
For aneurysmal thrombus, it will take some days, as I am resuming work, and there are aneurysms and aneurysms. Regards. |
Here are videos of segmenting a simple and a complex aortic aneurysm thrombus using 'Fast marching'. It follows the same method as for veins, with these two specifics :
The rest follows the same workflow : 'Fast marching', reduce leaks, apply, erase small leaks, paint small misses, 'Fill holes' smoothing and perhaps 'Joint smoothing'. |
I noticed frequent crashes when using 'Fast marching' effect. Sometimes it occurs on first initialization, but most often after 'Cancel', modify 'Maximum volume' parameter and repeat initialization.
It is also volume dependent. I can reproduce it on one sample volume (of good quality), but not with CTA-cardio for example.
Here is a backtrace :
Please not that this happens before and after 88673aa.
Hoping it may help for a resolution.
The text was updated successfully, but these errors were encountered: