existsSegment {AFM}R Documentation

existsSegment checks if a segment exists in an AFMImage; check if all the heights at the segment coordinates are different to zero.

Description

existsSegment return a boolean

Usage

existsSegment(AFMImage, segment)

Arguments

AFMImage

a AFMImage from Atomic Force Microscopy or a binary AFMImage

segment

a data.table coming from the getBresenham2Dsegment - x and y should start from 1,1 #TODO Segment class

Value

TRUE if all the heights of the segment are different from zero

Author(s)

M.Beauvais


[Package AFM version 2.0 Index]