Re: [vmtk-users] Combineing level sets
Brought to you by:
davidsteinman,
lucantiga
From: adrianrh <adr...@st...> - 2013-03-31 16:39:16
|
Hello Luca, Thank you for the answer, it is helpful. I actually need to combine images from the same geometry and from different geometries at different points in my work. I have some higher quality MR scans that are on a smaller domain and would like to understand how to combine it with a lower quality image of a bigger domain. So getting some more details would really be nice. Best regards Adrian On 2013-03-29 13:53, Luca Antiga wrote: > Hello Adrian, > > there is a way of combining level set files. After all, they are all > image files, so here's how you do it: > > in case they are all produced from the same input image (i.e. they > have the same geometry), you can go > vmtkimagecompose -ifile ls1.vti -i2file ls2.vti -ofile ls_combined.vti > If you have more than 2, you'll have to call another vmtkimagecompose > on the result of the former; > > in case they are produced from different input images (hence they > have different spatial extents) you'll first have to resample them > onto > a common grid using vmtkimagereslice; let me know if this is your case > and I'll provide you with more details. > > Best, > > Luca > > On Mar 25, 2013, at 3:08 PM, adrianrh wrote: > >> Hi! >> >> I am working on segmenting water in the brain for simula research >> laboratory. >> >> I am using the command >> "vmtklevelsetsegmentation -ifile image_volume_voi.vti -levelsetsfile >> level_sets.vti -ofile level_setsOut.vti" >> to continue working on a project. >> >> what I would really like to be able to do is to make multiple >> levelsets >> files and then combine them. Like this; >> >> vmtklevelsetsegmentation -ifile image_volume_voi.vti -levelsetsfile >> level_sets.vti -levelsetsfile level_sets2.vti -ofile >> level_setsOut.vti >> >> is it possible to do this in the vmtk software? or possible to add >> it? >> >> Adrian Hope >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_mar [1] >> _______________________________________________ >> vmtk-users mailing list >> vmt...@li... >> https://lists.sourceforge.net/lists/listinfo/vmtk-users > > > > Links: > ------ > [1] http://p.sf.net/sfu/appdyn_d2d_mar |