Hi Regine,
 did you try inverting with vmtkimageshiftscale? 

vmtkimageshiftscale -ifile input.mha -scale -1.0

If you need to re-obtain positive intensity levels for some reason, you need to 
pipe another shift scale for the shift part:

vmtkimageshiftscale -ifile input.mha -scale -1.0 --pipe vmtkimageshiftscale 
-shift 4000

Hope this helps.


Luca




On Mar 18, 2013, at 10:39 PM, richschm...@web.de wrote:

> Dear all,
> 
> a friend of mine came up with a dicom data set of the lung. She wants to 
> extract the trachea which is represented with a lower intensity as compared 
> to their environment (since it is filled with air). We tried to use 
> vmtklevelsetsegmentation, but it didn't work due to the inverted intensity 
> distribution, I guess. I tried to invert the dicom data set and read it into 
> vmtk afterwards, but I wasn't successful.
> Did anybody have the same problem and could tell me how he/she solved it?
> Thank you for any help!
> Bye,
> Regine
> ------------------------------------------------------------------------------
> 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_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
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
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to