extractAFMImage {AFM}R Documentation

Extract a portion of an AFM image.

Description

The extract will be a square of the specified size. If the size is too large for the original AFMImage, only the biggest valid size will be kept.

Usage

extractAFMImage(AFMImage, cornerX, cornerY, size)

Arguments

AFMImage

an AFMImage from Atomic Force Microscopy

cornerX

horizontal coordinates of the extract

cornerY

vertical coordinates of the extract

size

square size of the extract in number of pixels

Details

extractAFMImage returns an extract of the AFMImage

Value

a new AFMImage sample

Author(s)

M.Beauvais

Examples

## Not run: 
  data(AFMImageOfAluminiumInterface)
  anAFMImageExtract<-extractAFMImage(AFMImageOfAluminiumInterface,15,15,256)

## End(Not run)


[Package AFM version 2.0 Index]