Roi-class: Roi-constructor

Roi-classR Documentation

Roi-constructor

Description

This class extends the Image object from EBImage to include a class named "Roi" and a slot named "loc" to hold the original location of the region of interest. This slot can be reached by the accessor function loc or simply by attr(obj, "loc" or by obj@loc. Previously, roxygen2 seemed to require that the parent (EBImage) library be loaded before it can recognize this directive...

Arguments

object

A Image object

Details

The function Roi is an S4 constructor to create the extended S4 class named "Roi".

Value

Image object with added "Roi" class and "loc" slot

Slots

loc

A length-two list of length-two numeric vectors for the points defining the region of interest


ornelles/EBImageExtra documentation built on Aug. 10, 2022, 11:44 p.m.