Aligns an image annotation with the current image justification.

alignImageAnnotation(img_ann, image_object)

alignSpatialTrajectory(spat_traj, image_object)

Arguments

img_ann

An object of class ImageAnnotation.

image_object

An object of class HistologyImaging to which the image annotation is aligned.

Value

Aligned input for img_ann.

Details

Information of the current justification of the image annotation is stored in slot @info. This function aligns justification regarding horizontal and vertical flipping, scaling and rotation.

See also

Read documentation on ?ImageAnnotation and ?HistologyImaging for more information.