Skip to contents

Smooth Contour Line Detection

Usage

image_contour_line(img, index = "GRAY", Q = 2)

Arguments

img

An Image object.

index

A character string with the index to be used. Defaults to "GRAY".

Q

numeric value with the pixel quantization step

Value

A list with the contour lines.

Examples

if(interactive()){
library(pliman)
img <- image_pliman("sev_leaf.jpg")
conts <- image_contour_line(img, index = "B")
plot(img)
plot_contour(conts, col = "black")
}