Join us for
RADAR: AI Edition

tofsims (version 1.0.2)

coordToPixel: coordToPixel coordToPixel translates xy coordinates from the locator() function to cell coordinates from the image function. Origo is according to ToF-SIMS images the upper left corner.

Description

coordToPixel coordToPixel translates xy coordinates from the locator() function to cell coordinates from the image function. Origo is according to ToF-SIMS images the upper left corner.

Usage

coordToPixel(object, xy)

Arguments

object
of class MassImage
xy
numeric vector with x/y locator coordinate

Value

  • xy coordinate of MassImage pixels