gsdim {imager}R Documentation

Grayscale dimensions of image

Description

Shortcut, returns the dimensions of an image if it had only one colour channel

Usage

gsdim(im)

Arguments

im

an image

Value

returns c(dim(im)[1:3],1)

Author(s)

Simon Barthelme

Examples


imnoise(dim=gsdim(boats))

[Package imager version 1.0.2 Index]