Learn R Programming

AFM (version 1.2.0)

extractAFMImage: 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

Value

Details

extractAFMImage returns an extract of the AFMImage

Examples

Run this code
data(AFMImageOfAluminiumInterface)
anAFMImageExtract<-extractAFMImage(AFMImageOfAluminiumInterface,15,15,256)

Run the code above in your browser using DataLab