R/showplot.R

Defines functions showPlot

# show image and capture point
showPlot <- function(image, fname, color){
    grDevices::x11()
    graphics::plot(image)
    bounds <- graphics::locator(type = "p", col = color)
    points <- checkBounds(bounds = bounds, fname = fname)
    grDevices::dev.off()
    return(points)
}
stomperusa/boundingbox documentation built on June 24, 2020, 11:58 p.m.