Opens an interface in which the user can interactively outline histomorphological features of an image. The outline created this way is used to create a SpatialAnnotation of subclass ImageAnnotation.

Not to confuse with createSpatialSegmentation().

createImageAnnotations(object, ...)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

...

Used to absorb deprecated arguments or functions.

Value

The updated input object, containing the added, removed or computed results.

Examples


library(SPATA2)

data("example_data")

object <- example_data$object_UKF275T_diet

object <- createImageAnnotations(object)