Hello Vikram,
 it should work the following way:

vmtksurfaceviewer -ifile surface.vtp -array DistanceToCenterlines

The colormap is not currently very flexible (you just have red to blue and 
grayscale,
the latter with -grayscale 1). 
However, you can change the scalar range using -scalarrange 0.1 1.0 (where the 
numbers 
are the bottom and the top of the color range, respectively).

When I'm looking for something more flexible in terms of visualization, I 
usually resort 
to Paraview.

Cheers.


Luca


On Jul 2, 2013, at 1:24 PM, Vikram Mehta wrote:

> 
> Hi guys,
> 
> Maybe I am missing it but I want to know how I can visualize the results of 
> running the vmtkdistancetocenterline command, in the form of a colored 
> surface ? eg. blue to red indicating low to higher distances respectively.  
> Also, would it be possible to adjust the colormap ?
> 
> Many thanks in advance
> Vikram.
> 
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
vmtk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to