[vtkusers] vtkImageQuantizeRGBToIndex - debug error
alba garin
albagarin1986 at hotmail.com
Mon Mar 7 11:13:44 EST 2011
I build debug vtk version and i havent had this problem before. but now a partner recommend me to build it in release as well, i tried to build in release and i could not debug neither.any idea,thanks,Alba
> Date: Mon, 7 Mar 2011 11:03:09 -0500
> Subject: Re: [vtkusers] vtkImageQuantizeRGBToIndex - debug error
> From: drescherjm at gmail.com
> To: albagarin1986 at hotmail.com
> CC: vtkusers at vtk.org
>
> On Mon, Mar 7, 2011 at 10:49 AM, alba garin <albagarin1986 at hotmail.com> wrote:
> >
> > dear all,
> > i am trying to take the 3 components of an rgb image and convert them into an index to get a look up table for the vtkImageViewer2, but i get an debug error: (...) HEAP CORRUPTION DETECTED: before Normal block at 0x03F02FD0. CRT detected that the application wrote to memory before start of heap buffer (...)
> > i define the filter like this:
> > vtkImageQuantizeRGBToIndex *imgfilter = vtkImageQuantizeRGBToIndex::New();
> > imgfilter->SetInput(_imageData);
> > imgfilter->SetNumberOfColors(256);
> > imgfilter->Update();
> > thanks,
> > Alba
> >
>
> Did you build and install the release vtk version and now are you
> trying to run the debug build?
>
> John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110307/90000a45/attachment.htm>
More information about the vtkusers
mailing list