pixelsToY: RAnEnExtra::pixelsToY

Description Usage Arguments Value

View source: R/pixelsToY.R

Description

RAnEnExtra::pixelsToY convert the pixel index to its y coordinate counting row-wise. The start matters because it sets the offset. The returned numbers are counted from 1.

Usage

1
pixelsToY(pixels, xgrids.total, start)

Arguments

pixels

a vector of indices of pixels that will get divided

xgrids.total

total number of x.

start

the counting start of pixels.

Value

y coordinate(s)


Weiming-Hu/RAnEnExtra documentation built on Sept. 26, 2021, 6:44 a.m.