profitDownsample: Down/Up-Samples an Image

View source: R/profitUtility.R

profitsampleR Documentation

Down/Up-Samples an Image

Description

Function to do integer down/up sampling of an image. Used for finesampling.

Usage

profitDownsample(img, factor)
profitUpsample(img, factor)

Arguments

img

The image matrix to be down-sampled.

factor

Integer down- or up-sampling factor.

Value

Returns the down/up-sampled image matrix.

Author(s)

Dan Taranu

See Also

profitMakeModel

Examples

#Need to add one.

ICRAR/ProFit documentation built on Feb. 1, 2024, 9:34 a.m.