Public Member Functions | |
Looks (size_t colsLooks, size_t rowsLooks) | |
Constructor with multi-looking factor. More... | |
void | multilook (isce3::io::Raster &input_raster, isce3::io::Raster &output_raster, int exponent=0) |
Multi-looking with rasters. More... | |
void | multilook (std::valarray< T > &input, std::valarray< T > &output) |
Multi-looking an array of real data. More... | |
void | multilook (std::valarray< T > &input, std::valarray< T > &output, T noDataValue) |
Multi-looking an array of real data (excluding noData values) More... | |
void | multilook (std::valarray< T > &input, std::valarray< bool > &mask, std::valarray< T > &output) |
Multi-looking an array of real data. More... | |
void | multilook (std::valarray< T > &input, std::valarray< T > &weights, std::valarray< T > &output) |
Multi-looking an array of real data (a weighted averaging) More... | |
void | multilook (std::valarray< std::complex< T >> &input, std::valarray< std::complex< T >> &output) |
Multi-looking an array of complex data. More... | |
void | multilook (std::valarray< std::complex< T >> &input, std::valarray< std::complex< T >> &output, std::complex< T > noDataValue) |
Multi-looking an array of complex data (excluding noData values) More... | |
void | multilook (std::valarray< std::complex< T >> &input, std::valarray< bool > &mask, std::valarray< std::complex< T >> &output) |
Multi-looking an array of complex data. More... | |
void | multilook (std::valarray< std::complex< T >> &input, std::valarray< T > &weights, std::valarray< std::complex< T >> &output) |
Multi-looking an array of complex data. More... | |
void | multilook (std::valarray< std::complex< T >> &input, std::valarray< T > &output, int exponent) |
Multi-looking amplitude of an array of complex data. More... | |
void | nrows (int) |
Set number of rows in the data before multi-looking. More... | |
void | ncols (int) |
Set number of columns in the data before multi-looking. More... | |
void | rowsLooks (int) |
Set number of looks to be taken on rows. More... | |
void | colsLooks (int) |
Set number of looks to be taken on columns. More... | |
void | nrowsLooked (int) |
Set number rows after mult-looking. More... | |
void | ncolsLooked (int) |
Set number of columns after multi-looking. More... | |
|
inline |
Constructor with multi-looking factor.
[in] | colsLooks | number of looks in the range direction (columns) |
[in] | rowsLooks | number of looks in the azimuth direction (rows) |
|
inline |
Set number of looks to be taken on columns.
[in] | numLooksCol | number of looks to be taken on columns |
void isce3::signal::Looks< T >::multilook | ( | isce3::io::Raster & | input_raster, |
isce3::io::Raster & | output_raster, | ||
int | exponent = 0 |
||
) |
Multi-looking with rasters.
[in] | input_raster | input raster |
[out] | output | raster |
[in] | exponent | the power to which the absolute of complex data are raisen to before multi-looking. If exponent = 0, the default exponent is used, i.e. exponent = 1 (linear) for float-to-float or complex-to-complex multilooking; or exponent = 2 (squared) for complex-to-float multilooking. |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< T > & | input, |
std::valarray< T > & | output | ||
) |
Multi-looking an array of real data.
[in] | input | input array to be multi-looked |
[out] | output | output multilooked and downsampled array |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< T > & | input, |
std::valarray< T > & | output, | ||
T | noDataValue | ||
) |
Multi-looking an array of real data (excluding noData values)
[in] | input | input array to be multi-looked |
[out] | output | output multilooked and downsampled array |
[in] | noDataValue | invalid data which will be excluded when multi-looking |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< T > & | input, |
std::valarray< bool > & | mask, | ||
std::valarray< T > & | output | ||
) |
Multi-looking an array of real data.
A binary mask is used to mask the data before multilooking
[in] | input | input array to be multi-looked |
[in] | mask | input boolean mask array to mask the input array before multi-looking |
[out] | output | output multilooked and downsampled array |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< T > & | input, |
std::valarray< T > & | weights, | ||
std::valarray< T > & | output | ||
) |
Multi-looking an array of real data (a weighted averaging)
[in] | input | input array to be multi-looked |
[in] | weights | input weight array to weight the input array for multi-looking |
[out] | output | output multilooked and downsampled array |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< std::complex< T >> & | input, |
std::valarray< std::complex< T >> & | output | ||
) |
Multi-looking an array of complex data.
[in] | input | input array of complex data to be multi-looked |
[out] | output | output multilooked and downsampled array of complex data |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< std::complex< T >> & | input, |
std::valarray< std::complex< T >> & | output, | ||
std::complex< T > | noDataValue | ||
) |
Multi-looking an array of complex data (excluding noData values)
[in] | input | input array of complex data to be multi-looked |
[out] | output | output multilooked and downsampled array of complex data |
[out] | noDataValue | invalid complex data which will be excluded when multi-looking |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< std::complex< T >> & | input, |
std::valarray< bool > & | mask, | ||
std::valarray< std::complex< T >> & | output | ||
) |
Multi-looking an array of complex data.
A binary mask is used to mask data before multilooking
[in] | input | input array of complex data to be multi-looked |
[in] | mask | input boolean mask array to mask the input array before multi-looking |
[out] | noDataValue | invalid complex data which will be excluded when multi-looking |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< std::complex< T >> & | input, |
std::valarray< T > & | weights, | ||
std::valarray< std::complex< T >> & | output | ||
) |
Multi-looking an array of complex data.
The complex data are weighted based on the input weight array.
[in] | input | input array of complex data to be multi-looked |
[in] | weights | input weight array to weight the input array for multi-looking |
[out] | noDataValue | invalid complex data which will be excluded when multi-looking |
void isce3::signal::Looks< T >::multilook | ( | std::valarray< std::complex< T >> & | input, |
std::valarray< T > & | output, | ||
int | exponent | ||
) |
Multi-looking amplitude of an array of complex data.
The amplitudes may be raised by an exponent before summation
\[ a = \frac{\sum_{i=1}^{N} |x_i|^{exponent}}{N} \]
where \(a\) represents the sum of amplitudes (to the power of exponent) in a window, N is the number of pixels in the multi-looking window, and x_i is the ith element of the complex data.
[in] | input | input array of complex data |
[out] | output | output array of real data |
[in] | exponent | the power to which the absolute of complex data are raisen to before multi-looking |
|
inline |
Set number of columns in the data before multi-looking.
[in] | numberOfColumns | number of columns before multi-looking |
|
inline |
Set number of columns after multi-looking.
[in] | numberOfColumns | number of columns after multi-looking |
|
inline |
Set number of rows in the data before multi-looking.
[in] | numberOfRows | number of rows before multi-looking |
|
inline |
Set number rows after mult-looking.
[in] | numberOfRows | number of rows after multi-looking |
|
inline |
Set number of looks to be taken on rows.
[in] | numLooksRow | number of looks to be taken on rows |