linearDetect {measuRing} | R Documentation |
Linear detection
Description
Function for developing linear detection of ring borders.
Usage
linearDetect(smoothed, origin = 0, darker = TRUE)
Arguments
smoothed |
a data frame with smoothed grays such as that
produced by |
origin |
numeric. an origin in smoothed gray to find the ring borders. |
darker |
logical. If TRUE the algorithm uses the negative extremes on smoothed grays to detect the ring borders. If FALSE the possitive extremes are used. |
Value
vector with column numbers in gray matrix of the detected
ring borders (see grayDarker
, and
graySmoothed
).
Author(s)
Wilson Lara, Carlos Sierra, Felipe Bravo
Examples
## (not run) Read one image section in package measuRing:
image1 <- system.file("P105_a.tif", package="measuRing")
## (not run) smoothed gray:
smoothed <- graySmoothed(image1)
## linear detection:
borders <- linearDetect(smoothed)
str(borders)
[Package measuRing version 0.5 Index]