im_coord: Get pixel coordinates for an image, as an image

View source: R/pictplot.R

im_coordR Documentation

Get pixel coordinates for an image, as an image

Description

Get pixel coordinates for an image, as an image

Usage

im_coord(im, direction = "x")

Arguments

im

an image

direction

Either "x" for x coordinates or "y" for y coordinates

Value

an image containing pixel coordinates

Examples

xc = im_coord(regatta, "x")
plot(xc, rescale = TRUE)

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.