Re: [vmtk-users] extract endpoints of vmtknetworkextraction via Topology-values
Brought to you by:
davidsteinman,
lucantiga
From: Dr. R. G. <gro...@mh...> - 2012-09-18 13:28:56
|
Dear Luca, Thanks for Your reply. On 18/09/12 11:47, Luca Antiga wrote: > Hi Roman, > I'm not sure, it could be the fact that Paraview shows cell-based data by > coloring the whole cell with a uniform color, but it may also be that there's > a bug with setting topology values somewhere. > Can you share the network file so that I can take a direct look? Sure, it's attached. Many thaks for looking into this. Roman > On Sep 14, 2012, at 3:26 PM, Dr. Roman Grothausmann wrote: > >> On 03/09/12 11:39, Luca Antiga wrote: >>> Dear Roman, >>> thanks for your appreciation of vmtk, it's good to have you onboard. >>> >>> It is indeed possible to use manually specified endpoints for vmtkcenterlines, >>> but there's some glue code that needs to be written in-between. >>> >>> vmtknetworkextraction outputs a polydata dataset composed of interconnected >>> lines, whose endpoints are the coordinates you're interested in. In order to >>> extract endpoints from the Network you should look for cells that have either >>> one of the Topology array values equal to -1 and extract the corresponding >>> coordinates. >> >> I tried to check this with paraview and its python-calculator using: (Topology[:,0] +1) * (Topology[:,1] +1) and colouring the result with a colour range from 0 to 1 (blue to red, see screen shot). It seems not all cells containing endpoints have one of the topology values == -1, or have I done something wrong? >> >> Thanks for any help or hints >> Roman >> >>> >>> Once you have the coordinates, you can specify them even at the command >>> line using vmtkcenterlines using -seedselector pointlist -seeds x y z -targets x0 y0 z0 x1 y1 z1 ... >>> >>> Let me know if you need support/advice for the extraction of the endpoints. In >>> fact this could be a nice addition to vmtk. >>> >>> Best, >>> >>> >>> Luca >>> >>> >>> On Sep 3, 2012, at 11:26 AM, Dr. Roman Grothausmann wrote: >>> >>>> Dear mailing list members, >>>> >>>> >>>> vmtk is really cool. I'm just about getting to know its features >>>> especially those for centre line extraction. >>>> I found this email from Luca: >>>> http://sourceforge.net/mailarchive/message.php?msg_id=29119553 to use >>>> vmtknetworkextraction for this purpose. >>>> >>>> Now I wonder, if it is possible to use the endpoints of the result of >>>> vmtknetworkextraction as the endpoints for vmtkcenterlines? >>>> Or is there a way to save the manually selected start and end points of >>>> vmtkcenterlines to use these when experimenting with other options of >>>> vmtkcenterlines? >>>> >>>> Many thanks for vmtk and for any help or hints. >>>> Roman >>>> >>>> -- >>>> Dr. Roman Grothausmann >>>> >>>> Tomographie und Digitale Bildverarbeitung >>>> Tomography and Digital Image Analysis >>>> >>>> Institut für Funktionelle und Angewandte Anatomie, OE 4120 >>>> Medizinische Hochschule Hannover >>>> Carl-Neuberg-Str. 1 >>>> 30625 Hannover >>>> >>>> Tel. +49 511 532-9574 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> vmtk-users mailing list >>>> vmt...@li... >>>> https://lists.sourceforge.net/lists/listinfo/vmtk-users >>> >> >> -- >> Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung >> Tomography and Digital Image Analysis >> >> Institut für Funktionelle und Angewandte Anatomie, OE 4120 >> Medizinische Hochschule Hannover >> Carl-Neuberg-Str. 1 >> 30625 Hannover >> >> Tel. +49 511 532-9574 >> <endpoints.jpg>------------------------------------------------------------------------------ >> Got visibility? >> Most devs has no idea what their production app looks like. >> Find out how fast your code is with AppDynamics Lite. >> http://ad.doubleclick.net/clk;262219671;13503038;y? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html_______________________________________________ >> vmtk-users mailing list >> vmt...@li... >> https://lists.sourceforge.net/lists/listinfo/vmtk-users > -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Institut für Funktionelle und Angewandte Anatomie, OE 4120 Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 30625 Hannover Tel. +49 511 532-9574 |