spatstat (version 1.7-11)

compatible.im: Test Whether Two Pixel Images Are Compatible

Description

Tests whether two pixel image objects have compatible dimensions.

Usage

compatible.im(A, B)

Arguments

A,B
Pixel images (objects of class "im").

Value

  • Logical value: TRUE if the images are compatible, and FALSE if they are not.

Details

This function tests whether the pixel images A and B have compatible pixel dimensions. They are compatible if they have the same number of rows and columns, the same physical pixel dimensions, and occupy the same rectangle in the plane.