[Insight-users] Running error with SegmentationEditor
Xu, Yanjun
yanjunxu@umich.edu
Wed, 9 Oct 2002 12:53:31 -0400
Yes, I'm running the example on Windows 2000.
Yanjun
-----Original Message-----
From: Joshua Cates [mailto:cates@sci.utah.edu]
Sent: Wednesday, October 09, 2002 9:29 AM
To: Xu, Yanjun
Cc: 'insight-users@public.kitware.com'
Subject: Re: [Insight-users] Running error with SegmentationEditor
Hi Yanjun,
Are you running this example on Windows?
Josh.
______________________________
Josh Cates
School of Computer Science
University of Utah
Email: cates@sci.utah.edu
Phone: (801) 587-7697
URL: www.cs.utk.edu/~cates
On Wed, 9 Oct 2002, Xu, Yanjun wrote:
> Hi, Dear All,
>
> I'm trying to run SegmentationEditor. I succeeded in running data and
> preprocess module. While I was running the segmenter module, the program
> always stopped abnormally in this function.
>
> void vtkWSLookupTableManager::LoadTreeFile(const char* fn)
> {
> .
> .
> .
> // now read the data
> in.read((char *)(this->MergeList + 1), listsz * sizeof(merge_t));
>
> if (in.gcount() != listsz *sizeof(merge_t))
> {
> vtkErrorMacro(<<"Error reading " << fn << ". File size does not
match
> header size.");
> exit(-1);
> >>>> stop here
> }
>
> in.close();
>
> .
> .
> .
> }
>
> Could anybody help to solve this problem? Thanks a lot.
>
> Sincerely,
> Yanjun
>
>