[Insight-users] ExtractImageFilter - newbie needs help!
Luis Ibanez
luis.ibanez at kitware.com
Tue Jun 29 20:41:43 EDT 2004
Hi Ramzy,
The problem you are experiencing may just be
due to the bug in the JPEG writer. Are you
using "unsigned char" pixels now ?
Could you post the corrupted image in web site
so we can take a look at it. That will help a
lot for figuring out the real source of the
problem.
---
BTW Note that there is also a "RegionOfInterest" filter
that also extracts a rectangular region from an image.
Regards,
Luis
--------------------
Ramzy Darwish wrote:
> Thanks for your response.
>
> I did try CropImageFilter, but it wouldn't work either although it did
> give different results.
>
> It wouldn't retunr the correct sized subimage and it still had that
> 'missing-pixel' effect. (Although I think that mayube what I think is
> missing pixels is really intermixed pixels from different regions of the
> image.)
>
> I am trying to give CropImageFilter an x,y coordinate and a size offset,
> but I don't think that is right, I don't fully understand what the upper
> and lower boundaries are supposed to represent (offset or pixel locations)
>
> I wanted to use CropImageFilter originally, but then I found the example
> with ExtractImageFilter and that is why I went that way.
>
> If you have any suggestions on how to use CropImageFIlter, I would be
> happy to hear them.
>
> Thanks again,
> ramzy
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list