matchObjects {EBImage} | R Documentation

## Matches detected objects in two images

### Description

For objects detected in one image, this function finds indexes of matching obnects in the other (i.e. indexes of objects at the locations of the centres of objects in the original image.

### Usage

        matchObjects(x, ref, ...)

### Arguments

`x`
  An object of `Image-class` in the `Grayscale` mode with integer-based object encoding, as returned by `watershed`.
`ref`
  A reference grayscale image with integer-based object encoding to match objects to.
`...`
  Reserved for future use.

### Value

A list of integer vectors, one per 2D image, with indexes of objects in the reference image matching objects in the original image.

### Author(s)

Copyright (c) 2005-2006 Oleg Sklyar : osklyar@ebi.ac.uk

### References

ImageMagick: http://www.imagemagick.org.

### See Also

`Image-class, watershed, getObjects`

[Package EBImage version 2.0.1 Index]