I have been using Dr. Lasso’s Line Profile and it has worked well for a 3D CT volume. However, when analyzing a 2D image, I kept getting a line of zeros. I am wondering if this is because each coordinate of the line/ruler is three-dimensional and there might be a mismatch in the third direction perpendicular to the image plane?
Also, I think Line Profile is a useful tool that should be included in Kitware. Please let me know how I can help with this process!
Yes, I am using the Sandbox extension. I am reading through the vtk forum you linked to. I am a beginning to vtk, so would you mind directing me to the right function to look at/modify if I were to get profiles of individual slices?
This problem turned out to be caused by a fundamental error in VTK (in how image boundaries are misinterpreted by vtkProbeFilter). I’ve made point probing more robust, which should fix this issue in releases downloaded tomorrow or later.
Yes. The extension is updated each night, so you can wait a day and update (or uninstall and install) it. If you don’t want to wait a day then you can modify LineProfile.py on your computer manually right now.