--
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To post to this group, send email to vmtk-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks,
Evan Kao
On 1 Mar 2015 at 01:12:43, Evan Kao (tos...@gmail.com) wrote:
Hello Luca, Bart,I had a similar problem and was wondering if there were other ways in VMTK that would work. Right now, I just import the surfaces into a commercial solid modeling program, "dilate" the parent surface, and then perform a surface/volume boolean operation. Overall, it's similar to "scaling" the parent vessel as Luca mentioned, but I'd like to avoid having to deal with translations. I assume the software translates the vertices along the normals, and then retriangulates the surfaces. I think it would be simple enough to translate the points, but there may be some issues with self-intersecting faces along concave bends. Would vmtksurfaceremeshing fix this?
It may, although there are no strong guarantees.
Other ideas on how to dilate the parent vessel:
- Regarding vmtksurfacemodeller, would it be easier than using vmtkimagecompose to just perform vmtkmarchingcubes with a slightly negative value to get a slightly larger surface and then perform vmtksurfacebooleanoperation?
Sure, you can do that. In fact, a dilate operation can be done by offsetting the distance transform to the surface (i.e. its implicit representation), which is essentially what you are proposing. This way you also overcome the self-intersection problems, the price to pay is that you lose guarantees on the topology, but this shouldn’t be too much of a practical issue.
- Along similar lines, the paralleltransportvoronoidiagram.py script uses vtkvmtkpolyballmodeller to create an image of the parent vessel and then vtkMarchingCubes to get the surface. Would it make sense to simply change the value of the threshold in vtkMarchingCubes to a negative number?
Assuming you’re still using the poly ball modeller to get the volume of the parent vessel, this is correct.
- If that doesn't work, does it make sense to change any values used by vtkvmtkpolyballmodeller to reconstruct the surface, like the MaximumInscribedSphereRadius array or polyball image size? For instance, if I increased the values in the MaximumInscribedSphereRadius array by 10% or so, what exactly would that change?
There’s nothing like trying :-)
Luca
Thanks,Evan Kao
Hi Bart,a practical way to use vmtksurfacebooleanoperation might be to scale the inner model up a bit (eventually translate both so that the barycenter of the inner surface is at the origin). Also, remember to use vmtksurfacecapper prior to vmtksurfacebooleanoperation or the latter may not recognize the surface inner/outer orientation.vmtkimagecompose is another way to do it, but you shouldn’t actually aim at subtracting.Since vmtksurfacemodeller produces images that are positive outside and negative inside the surfaces, in order to get the “subtracted” surface you’re aiming for, you have to obtain the region of space where the aneurysm model image is negative and the parent vessel model image is positive. So I would rather multiply the two images, since the aneurysm will be the only region of space where one image is positive (the parent vessel image) and the other is negative (the full aneurysm model).Once you multiply, you get the subtracted surface by running vmtkmarchingcubes (since you’ll get the surface at the negative / positive transition).Best,LucaOn 25 Feb 2015 at 09:28:31, Bart Cornelissen (b.m.w.co...@student.utwente.nl) wrote:
Dear VMTK people,--I have a model of a middle cerebral artery with an intracranial aneurysm and a model of the reconstructed parent vessel (see figure). I want to delineate the aneurysm by subtracting those 2 surfaces from each other. The vmtksurfacebooleanoperation should do the trick, but this does not work in my case. Maybe because the 2 models do not exactly overlap? Also when using the tolerance switch, i do not get the result I want.Therefore I want to use vmtkimagecompose in order to subtract the image files of the aneurysm model and the reconstructed parent vessel model. With vmtksurfacemodeller it is possible to calculate vti files from the surface models, however, the vti contains a distance map. Is it possible to write a surface to a binary image which allows me to subtract those images later on?I hope somebody can help.Best regards,Bart
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To post to this group, send email to vmtk-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Luca Antiga, PhD
Co-founder and Principal Scientist, OROBIX Srl
via Gabriele Camozzi 144, 24121 Bergamo, Italy
github: https://github.com/lantigatwitter: @lantigamobile: +39.347.43.16.596office: +39 035.027.37.86"This message originates from OROBIX Srl and its contents and attachments are privileged and confidential and are intended only for the individual(s) or entity(ies) named above. This message should not be forwarded, distributed or disclosed. Any unauthorized use, dissemination and duplication is strictly prohibited and may be unlawful. All personal messages express views solely of the sender, which are not to be attributed to OROBIX Srl, and may not be copied or distributed without this disclaimer. If you are not the intended recipient or received this message in error, please delete this message and notify the sender by reply e-mail. Opinions, conclusions and other information in this message that do not relate to the official business of OROBIX Srl shall be understood as neither given nor endorsed by it."
--
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To post to this group, send email to vmtk-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To post to this group, send email to vmtk-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.








.png?part=0.13&view=1)



