Changes between Version 1 and Version 2 of FDORfc65


Ignore:
Timestamp:
Oct 12, 2012, 12:54:23 PM (12 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc65

    v1 v2  
    3030== Proposed Solution ==
    3131
    32 A new class FdoRfpStreamReaderByTileResample is introduced to implement resampling behaviour.  It maintains a member instance of the existing FdoRfpStreamReaderByTile to perform the reading and resampling from the GDAL library.  The member reader samples at 2x the required pixel density.  This data is then downsampled to the required pixel density using one of resampling methods supported by GDAL warp:
     32A new class !FdoRfpStreamReaderByTileResample is introduced to implement resampling behaviour.  It maintains a member instance of the existing !FdoRfpStreamReaderByTile to perform the reading and resampling from the GDAL library.  The member reader samples at 2x the required pixel density.  This data is then downsampled to the required pixel density using one of resampling methods supported by GDAL warp:
    3333 * Bilinear - Bilinear resampling
    3434 * Cubic - Cubic resampling
    35  * CubicSpline - Cubic spline resampling
     35 * !CubicSpline - Cubic spline resampling
    3636 * Lanczos - Lanczos windowed sinc resampling
    3737
    38 The resampling method is specified by a new "ResamplingMethod" parameter in the connection string for the provider.
     38The resampling method is specified by a new "!ResamplingMethod" parameter in the connection string for the provider.  The parameter values are case insensitive.
     39
    3940{{{
    4041m_connection->SetConnectionString(L"DefaultRasterFileLocation=../../TestData/pci_eg/acea.tif;ResamplingMethod=bilinear");
     
    4344The internal reader uses a memory buffer to supply the GDAL warp operation with data.  This eliminates any performance issues caused by writing temporary data to disk.
    4445
    45 The FdoRfpStreamReaderByTileResample reader automatically upgrades all bit depths and color to 32 bit RGBA.  A 32 bit color space is generally required to accurately display the blended pixels resulting from the resampling.
     46The !FdoRfpStreamReaderByTileResample reader automatically upgrades all bit depths and color to 32 bit RGBA.  A 32 bit color space is generally required to accurately display the blended pixels resulting from the resampling.
    4647
    4748== Implications ==