![]() |
TerraLib 4.1
|
Image fusion using principal components. More...
#include <TePDIPCAWaveletFusion.hpp>
Public Types | |
| enum | InterpMethod { Nothing = 0, NNMethod = 1, BilinearMethod = 2, BicubicMethod = 3 } |
Public Member Functions | |
| TePDIPCAWaveletFusion () | |
| Default Constructor. | |
| ~TePDIPCAWaveletFusion () | |
| Default Destructor. | |
| bool | CheckParameters (const TePDIParameters ¶meters) const |
| Checks if the supplied parameters fits the requirements of each PDI algorithm implementation. | |
Protected Member Functions | |
| bool | RunImplementation () |
| Decide the direction of the analysis based on the analysis_type parameter. | |
| void | ResetState (const TePDIParameters &) |
| Reset the internal state to the initial state. | |
| bool | resampleRasterByResLinsCols (const TePDITypes::TePDIRasterPtrType &input_raster, const TePDITypes::TePDIRasterPtrType &output_raster, double x_resolution_ratio, double y_resolution_ratio, int l, int c, TePDIInterpolator::InterpMethod interpol, bool enable_progress) |
| Raster resampling to new resolution, forcing lines and columns. | |
Image fusion using principal components.
| input_rasters | (TePDITypes::TePDIRasterVectorType) - Low resolution rasters. |
| bands | (std::vector< int >) - The bands from each low resolution raster. |
| output_rasters | (TePDITypes::TePDIRasterVectorType) - High resolution fused rasters. |
| reference_raster | (TePDITypes::TePDIRasterPtrType) - High resolution raster. |
| reference_raster_band | (int) - Reference raster band number. |
| pca1_levels | (int) - Decomposition levels for the PCA1 component. |
| reference_levels | (int) - Decomposition levels for each reference raster. |
| filter_file | (std::string) - The filter file name. |
| resampling_type | (TePDIPCAWaveletFusion::InterpMethod) - Resampling type. |
| fit_histogram | (bool) - Fit histogram before the substitutionion raster. |
| TePDIPCAWaveletFusion::TePDIPCAWaveletFusion | ( | ) |
Default Constructor.
| TePDIPCAWaveletFusion::~TePDIPCAWaveletFusion | ( | ) |
Default Destructor.
| bool TePDIPCAWaveletFusion::CheckParameters | ( | const TePDIParameters & | parameters | ) | const [virtual] |
Checks if the supplied parameters fits the requirements of each PDI algorithm implementation.
| parameters | The parameters to be checked. |
Implements TePDIAlgorithm.
| bool TePDIPCAWaveletFusion::resampleRasterByResLinsCols | ( | const TePDITypes::TePDIRasterPtrType & | input_raster, |
| const TePDITypes::TePDIRasterPtrType & | output_raster, | ||
| double | x_resolution_ratio, | ||
| double | y_resolution_ratio, | ||
| int | l, | ||
| int | c, | ||
| TePDIInterpolator::InterpMethod | interpol, | ||
| bool | enable_progress | ||
| ) | [protected] |
Raster resampling to new resolution, forcing lines and columns.
| input_raster | Input raster. |
| output_raster | Output raster. |
| x_resolution_ratio | X resolution ratio. |
| y_resolution_ratio | Y resolution ratio. |
| l | Output raster Lines. |
| c | Output raster Columns. |
| interpol | Interpolation method. |
| enable_progress | Enable/disable the progress interface. |
| void TePDIPCAWaveletFusion::ResetState | ( | const TePDIParameters & | ) | [protected, virtual] |
Reset the internal state to the initial state.
| params | The new parameters referente at initial state. |
Implements TePDIAlgorithm.
| bool TePDIPCAWaveletFusion::RunImplementation | ( | ) | [protected, virtual] |
Decide the direction of the analysis based on the analysis_type parameter.
Implements TePDIAlgorithm.