Hadoop Online Training by Edureka

generateSinusoid: Generate single sinusoid patch

Description Usage Arguments Value Examples

Description

Generate single sinusoid patch

Usage

1
generateSinusoid(img_size, cycles, angle, phase, contrast)

Arguments

img_size

Integer specifying size of sinusoid patch in number of pixels

cycles

Integer specifying number of cycles sinusoid should span

angle

Value specifying the angle (rotation) of the sinusoid

phase

Value specifying phase of sinusoid

contrast

Value between -1.0 and 1.0 specifying contrast of sinusoid

Value

The sinusoid image with size img_size.

Examples

1
generateSinusoid(512, 2, 90, pi/2, 1.0)


Search within the rcicr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.