PCL
Helper Functions for Selection of

Functions

static int pcl::FFTConvolution::FasterThanNonseparableFilterSize (int width=0, int height=0)
 
static int pcl::SeparableConvolution::FasterThanNonseparableFilterSize (int width=0, int height=0)
 

Detailed Description

Convolution Algorithms

Function Documentation

◆ FasterThanNonseparableFilterSize() [1/2]

static int pcl::FFTConvolution::FasterThanNonseparableFilterSize ( int  width = 0,
int  height = 0 
)
static

Returns the minimum filter size in pixels for which FFT-based two-dimensional convolution is consistently faster than nonseparable convolution on the current PixInsight/PCL platform and host machine.

Parameters
widthWidth of the convolved image in pixels.
heightHeight of the convolved image in pixels.

Since PixInsight 1.9.3 Lockhart, this function queries the running PixInsight core application to retrieve a critical value based on thread performance analysis microbenchmarks. If no performance analysis data are available, the function returns an empirical value based on average reference hardware.

Note
Both width and height parameters are currently ignored and reserved for future implementations.

◆ FasterThanNonseparableFilterSize() [2/2]

static int pcl::SeparableConvolution::FasterThanNonseparableFilterSize ( int  width = 0,
int  height = 0 
)
static

Returns the minimum filter size in pixels for which separable convolution is consistently faster than nonseparable convolution on the current PixInsight/PCL platform and host machine.

Parameters
widthWidth of the convolved image in pixels.
heightHeight of the convolved image in pixels.

Since PixInsight 1.9.3 Lockhart, this function queries the running PixInsight core application to retrieve a critical value based on thread performance analysis microbenchmarks. If no performance analysis data are available, the function returns an empirical value based on average reference hardware.

Note
Both width and height parameters are currently ignored and reserved for future implementations.