Learn R Programming

ProFit (version 1.3.3)

profitsample: 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.

See Also

profitMakeModel

Examples

Run this code
# NOT RUN {
#Need to add one.
# }

Run the code above in your browser using DataLab