Hi Ben,
yes, that should work (maybe you got it working in the meantime, sorry for the
late response).
Better yet, you should also be able to just copy the vmtkcenterlines file from
the vmtk source, change relevant names (filename, module and class names), and
just use your updated script in a pipe with all the rest of vmtk. You can
pretty much customize vmtkcenterlines at your will this way, including the
seeding. Just keep the script in the current directory and you should be fine.
The only thing you have to remember is to replace
import vtkvmtk
import vmtkrenderer
import pypes
...
with
from vmtk import vtkvmtk
from vmtk import vmtkrenderer
from vmtk import pypes
...
Let me know if this works for you.
Best regards
Luca
On Feb 20, 2012, at 5:43 PM, Berkowitz, Benjamin M wrote:
> Luca,
>
> Since one of the seeds has to be on the aneurysm dome I don't think the
> openopenprofiles will work for all of the seed points. In terms of updating
> from the source, it takes a while for us to update since we have to work
> through network administration. But do you think it would be possible to
> import the vmtkPickPointSeedSelector class from vmtkcenterlines into my
> python script, and would I be able to get what I'm looking for that way?
>
> Thanks,
> Ben
>
>
> From: Luca Antiga [luca.ant...@orobix.com]
> Sent: Saturday, February 18, 2012 1:35 AM
> To: Berkowitz, Benjamin M
> Cc: vmtk-users@lists.sourceforge.net
> Subject: Re: [vmtk-users] Centerline seed/target point extraction
>
> Hi Ben,
> work has kept me from replying earlier.
> Apart from the usual seeding modes, such as pickpoint and openprofiles, you
> can use a couple more strategies to specify seeds from the command line, with
> which you can make sure you're using the exact same points for seeds and
> targets.
> In this case, vmtkcenterlines accepts two kinds of inputs: point ids
> (-seedselector idlist) or physical coordinates (-seedselector pointlist).
> Point ids are the actual id's of the surface mesh nodes. Physical coordinates
> are triplets of X Y Z points.
>
> Unfortunately, at the present stage, manually picked seeds are not piped,
> i.e. you can't just go
> vmtkcenterlines -seedselector pickpoint -ifile foo.vtp --pipe vmtkcenterlines
> -seedselector pointlist -targetpoints @.seedpoints -seedpoints @.targetpoints
>
> If would be a nice addition, though. Do you have the possibility of getting
> vmtk from source? If so, I might add it this feature in in a short time.
>
> Let me know
>
> Luca
>
>
>
> On Feb 8, 2012, at 5:53 PM, Berkowitz, Benjamin M wrote:
>
>> I'm using vmtkcenterlines, and would like to perform a centerline
>> calculation from multiple directions using the same point locations (i.e.,
>> define a seed point as a target point and vice-versa in the second
>> calculation). Is it possible to do so?
>>
>> Thanks,
>> Ben Berkowitz
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
>> vmtk-users mailing list
>> vmtk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/vmtk-users
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users