invertBinaryAFMImage {AFM}R Documentation

invert a binary AFMImage

Description

invertBinaryAFMImage returns a binary AFMImage

Usage

invertBinaryAFMImage(AFMImage)

Arguments

AFMImage

an AFMImage from Atomic Force Microscopy

Value

an AFMImage

Author(s)

M.Beauvais

Examples

## Not run: 
library(AFM)
data(AFMImageOfAluminiumInterface)
newAFMImage<-copy(AFMImageOfAluminiumInterface)
displayIn3D(newAFMImage,noLight=TRUE)
newAFMImage<-multiplyHeightsAFMImage(newAFMImage, multiplier=2)
displayIn3D(newAFMImage,noLight=TRUE)
newAFMImage<-filterAFMImage(newAFMImage,  Min=140, Max=300)
displayIn3D(newAFMImage,noLight=TRUE)
newAFMImage<-makeBinaryAFMImage(newAFMImage)
displayIn3D(newAFMImage,noLight=TRUE)
newAFMImage<-invertBinaryAFMImage(newAFMImage)
displayIn3D(newAFMImage,noLight=TRUE)

## End(Not run)

[Package AFM version 2.0 Index]