Damn, it's been 10 days already!

I just committed code to compute section size over the whole section, which 
should give you a more sensible value for min and max size.

You can get the code from here:
https://github.com/lantiga/vmtk

This is the commit.
https://github.com/lantiga/vmtk/commit/9c99667b2596a6a50a8540e4ca97a7da5ded4f7d

You can either apply the changes yourself, or just clone my repository and 
build it.

Hope this helps


Luca


On Feb 19, 2012, at 10:32 PM, Laurentiu Lipsa wrote:

> 
> Hi Luca, 
>        I forgot to tell you that I am already working with vmtk from source 
> code in Ubuntu 10.04. Some time ago I told you that I had some problems with 
> the installation , it was with cmake version and Phyton dev library. 
> 
> Thank you!
> Laurentiu
> 
> El 19/02/2012, a las 21:40, Luca Antiga <luca.ant...@orobix.com> escribió:
> 
>> Hi Laurentiu,
>>  the first thing you should do is to try to build vmtk from source. This 
>> way, you'll have a chance get the updated code as soon as I commit it.
>> Please follow the compilation instructions on the website. After the recent 
>> developments, vmtk should compile without problems along with
>> all its dependencies. You only need to make sure git and cmake are installed 
>> on your system.
>> What platform are you on?
>> 
>> Luca
>> 
>> 
>> On Feb 19, 2012, at 9:09 PM, Laurentiu Lipsa wrote:
>> 
>>> 
>>> Hi Luca, 
>>>        I am using the packages, I need max diameter values to generate a 
>>> graph with the evolution of it. I will be thankfully if you can help me 
>>> with the modification of the code.
>>> 
>>> Thank you!
>>> Best regards,
>>> Laurentiu
>>> 
>>> 
>>> El 19/02/2012, a las 14:25, Luca Antiga <luca.ant...@orobix.com> escribió:
>>> 
>>>> Hi Laurentiu,
>>>>  I just ran your code.
>>>> 
>>>> The sections look good, as per the attached image.
>>>> 
>>>> By the way, I suggest you to resample the centerlines prior to generating 
>>>> the sections, like in the following (-length 5 means: use a resampling 
>>>> step equal to 5 mm - you can of course change it).
>>>> 
>>>> vmtksurfacereader -ifile christ3_ext_sm_sm.vtp --pipe vmtkcenterlines 
>>>> -seedselector openprofiles --pipe vmtkcenterlineresampling -length 5 
>>>> --pipe vmtkcenterlinesections -branchsectionmaxsize branchmax 
>>>> -branchsectionminsize branchmin -ofile foo.vtp
>>>> 
>>>> Anyway, I measured the largest section manually in paraview and I got the 
>>>> same numbers (56).
>>>> 
>>>> The issue lies with the definition of maxSize (and mainly the unfortunate 
>>>> choice of the name): maxSize is not the maximum size of the section in any 
>>>> direction, but it's the maximum distance between the "center" of the 
>>>> section (which is really the intersection of the centerline with the 
>>>> section) and the boundary - that's where 40 comes out of.
>>>> 
>>>> I confess I had to go back and look at the code, because I myself was 
>>>> misled and thought that max section was the maximum distance of any two 
>>>> points in the section.
>>>> 
>>>> I totally agree that there should at least be an option to chose what kind 
>>>> of max and min distance to employ. 
>>>> 
>>>> By the way, are you using a self-built vmtk or the packages? In the former 
>>>> case I could update the code quite easily.
>>>> 
>>>> Let me know, thanks for the heads up.
>>>> 
>>>> 
>>>> Luca
>>>> 
>>>> <Screen Shot 2012-02-19 at 2.05.44 PM.png>
>>>> 
>>>> 
>>>> 
>>>> On Feb 15, 2012, at 12:40 PM, Lipsa Laurentiu Mihai wrote:
>>>> 
>>>>> Hello,
>>>>>           I am trying to get the max diameter values for a abdominal 
>>>>> aorta aneurism ( the christ3_ext_sm_sm.vtp file) along the centerline but 
>>>>> the values are not good(christ3_ext_secions.dat). The diameter max value 
>>>>> generated by vmtk it is about 40 mm and in reality it is about 56 mm. I 
>>>>> am using the vmtkcenterlinesections with branchsectionmaxsize and minsize 
>>>>> atributes as we can see in the vmtk commands file section.txt. Also it is 
>>>>> generating a few strange values (close to reality) from the line 777 to 
>>>>> 806 (in christ3_ext_secion.dat) where the CenterlineSectionClosed 
>>>>> atribute value  is 1(open i think).
>>>>>         I don´t know which can be the solution to this issue.
>>>>>         
>>>>>  
>>>>> Best regards,
>>>>> Laurentiu
>>>>> <sections.txt><christ3_ext_secions.dat><christ3_ext_sm_sm.vtp>------------------------------------------------------------------------------
>>>>> 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
>>>> 
>>> ------------------------------------------------------------------------------
>>> 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
>> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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

Reply via email to