[MINC-users] Display - global

Soren Christensen sorench at gmail.com
Sat Nov 3 22:55:44 EDT 2007


Hi,
 Just in case someone should google this in the future and need a
custom presentation of Display (I guess this can be written to a
config file, but I made these changes to the sources):

In global_variables.h make these changes:

//start with colormapping from 0.0 - 0.60 of max instead of 0.25-.75
DEF_GLOBAL( Initial_low_limit_position, Real, 0.0 )
DEF_GLOBAL( Initial_high_limit_position, Real, 0.60 )
//default colormap=gray
DEF_GLOBAL( Initial_colour_coding_type, int, 0 )
//reserve a larger portion of the slice window for the transverse sections
DEF_GLOBAL( Slice_divider_x_position, Real, 0.9 )
DEF_GLOBAL( Slice_divider_y_position, Real, 0.9 )

To startup Display bigger than the default 300x300 stamp size:
In Graphics/GLUT_windows/glut_windows.c
 #define DEFAULT_WINDOW_X_SIZE 800
 #define DEFAULT_WINDOW_Y_SIZE 800

These changes make it a lot easier to flick through a large number of patients.



Cheers
Soren


On 10/31/07, Soren Christensen <sorench at gmail.com> wrote:
> Hi,
>  Is there a good place to find documentation for how to use the Display
> -global option?
> I'd like to customize the window size and the proportion of the window
> allocated to the transverse section as well as the colormap windowing in
> order to speed up screening and QA of multiple subjects. The
> global_variables.h seem to contain default settings, but when I use them
> with the -global option it seems to have no effect.
> So what I am looking for is:
> 1) Name of the variables i need to change: (colormap min,max   window
> position and width+hight     size of transverse rendering inside window)
> 2) How to do this using the command line or alternatively configuration file
> or in another way.
>
>
> Cheers
> Soren


More information about the MINC-users mailing list