CVB.Net 14.0
GaussianPyramid Class Reference

Functions implementing a Gaussian pyramid approach. More...

Static Public Member Functions

static Image Down (Image img)
 This function down samples an image in the sense of a Gaussian pyramid. More...
 
static Image Up (Image img)
 This function up samples an image in the sense of a Gaussian pyramid. More...
 

Detailed Description

Functions implementing a Gaussian pyramid approach.

Member Function Documentation

◆ Down()

static Image Down ( Image  img)
static

This function down samples an image in the sense of a Gaussian pyramid.

It applies a Gaussian FixedFilterSize.Kernel5x5 to the image, then down samples the image by omitting every odd row and column, producing an output image whose size is halved in each dimension.

Parameters
imgImage to be down sampled.
Returns
Down-sampled image.
Exceptions
ArgumentNullExceptionIf the input img is null
ObjectDisposedExceptionIf the input img has already been disposed

◆ Up()

static Image Up ( Image  img)
static

This function up samples an image in the sense of a Gaussian pyramid.

It inserts odd columns and rows filled with 0, then applies a Gaussian FixedFilterSize.Kernel5x5 multiplied by 4 to the image.

Parameters
imgImage to be up sampled
Returns
Up-sampled image.
Exceptions
ArgumentNullExceptionIf the input img is null
ObjectDisposedExceptionIf the input img has already been disposed