[Insight-developers] Re: ImageIO Streaming

Luis Ibanez luis.ibanez at kitware.com
Mon Jul 2 16:29:08 EDT 2007


Hi Doug,

Yes, the largest possible region is defined in ReadImageInformation().

So its value is available by the time the ImageFileReader calls
CanStreamRead() and DetermingStreamableRegionFromRequestedRegion().

I'll remove CanStreamRead() from the API in the Sandbox.


   Thanks


      Luis


---------------------
Douglas Alan wrote:
> Luis Ibanez <luis.ibanez at kitware.com> wrote:
> 
> 
>>After looking closely at the API required for Streaming the readers,
>>it seems redundant to have the CanStreamRead() method along with the
>>DetermingStreamableRegionFromRequestedRegion() method.
> 
> 
> Right -- the default implementation for
> DetermineStreamableRegionFromRequestedRegion() can use the values set in
> ReadImageInformation() to determine the LargestPossibleRegion.  This
> information is set in ReadImageInformation() via SetDimensions().  Is
> all that right?
> 
> If so, then CanStreamRead() would seem to be unnecessary.
> 
> |>oug
> 


More information about the Insight-developers mailing list