data(peppers) # Peppers image is bundled with the package and it is a
# standard test image in image processing literature.
# Not Run
#step.edges <- stepEdgeLLK(peppers, 9, 17) # Step edge detection
#roof.edges <- roofEdge(peppers, 6, 3000, edge1=step.edges) # Roof edge detection
#set.seed(24)
#parSel <- threeStageParSel(image = peppers, edge1 = step.edges, edge2 = roof.edges,
#bandwidth = 4, nboot = 1, blur = TRUE) # Time consuming
Run the code above in your browser using DataLab