[MINC-users] xv error (mincview) on Ubuntu / make_model error

Andrew Janke a.janke at gmail.com
Wed Feb 9 20:47:12 EST 2011


Hi Lisa,

On 10 February 2011 09:25, Lisa F. Akiyama <lrisa87 at uw.edu> wrote:
> I am using MINC on Ubuntu 10.10.
> I am facing two problems at the moment:
>
> 1) I get an error saying that the xv command is missing when I try to run
> mincview:
>
> todd at neptune-ubuntu:~/Desktop/SF6-noneck-notcoreg/mritotal$ mincview
>> 6mth_ucla_little_endian_clean.mnc
>> Loading
>> slices...........................................................................................................................................Done
>> xv: Command not found.

mincview is a bit of MINC history that has been left in if only
because some users still want it. Sadly the xv licence prohibits
people from distributing modified versions and thus it is not included
in many linux distributions such as Ubuntu.  It was for this reason
that I wrote mincpik using imagemagicks convert+display functions.

Is there is a specific reason for wanting to use mincview?  all it
does is display a set of slices that is probably better done with
mincpik, if you just want to view data I'd recommend register or
Display.  Two other old warhorses that seem to also just keep on
going.

> Is there a need for me to install xv following steps such as those listed
> here?: http://www.halibutdepot.org/xv/building_xv_on_ubuntu.html

Well that certainly is the easiest way to get xv to work. :(

> 2) When running make_model, I get errors saying that it was unable to open
> the ...mask.mnc files.
> No mask.mnc files are created (only dxyz.mnc's and blur.mnc's have been
> created).

make_model requires that you have your model.mnc, model_headmask.mnc
and model_mask.mnc all in the same folder so you should have these
three files:

   6mth_ucla_little_endian_clean.mnc
   6mth_ucla_little_endian_clean_mask.mnc      (mask of cortical structures)
   6mth_ucla_little_endian_clean_headmask.mnc   (mask of the whole head)

at which point you can then say:

   make_model 6mth_ucla_little_endian_clean

and use your model with mritotal.


-- 
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Brisbane->Australia    +61 (402) 700 883


More information about the MINC-users mailing list