void PixelDownSample(TMtx *Dst, int Pixels = 500, TPixelDownSample mode = TPixelDownSample::pdsPattern);
Creates a reduced size dense matrix for screen display (bitmap) to show the matrix pattern.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtx * | |
| 2 | Pixels = 500 | int | |
| 3 | mode = TPixelDownSample::pdsPattern | TPixelDownSample |
Remarks:
Creates a reduced size dense matrix for screen display (bitmap) to show the matrix pattern. Pixels parameter defines the target number of pixels to reduce TMtx::Rows and TMtx::Cols to. The size reduction method depends on what you want to see:
- pdsPattern , Returns 1 for all areas with at least one nonzero value regardless of its amplitude.
- pdsAverage, Average all values within an area (pixel).
- pdsPeak, Return only the maximum absolute value within an area (region will become one pixel).
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler