getHolesStatistics {AFM}R Documentation

calculate statistics about holes in a binary image

Description

getHolesStatistics returns a binary AFMImage

Usage

getHolesStatistics(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)

holesStats<-getHolesStatistics(newAFMImage)
print(holesStats)

## End(Not run)

[Package AFM version 2.0 Index]