get.edges.Staffli | R Documentation |
Finds edges of a mask and returns a set of x,y coordinates aligned along the edges
## S3 method for class 'Staffli' get.edges(object, index = 1, verbose = FALSE, type = "masked.masks")
object |
Seurat object |
index |
Sample index |
verbose |
Print messages |
type |
image type to run edge detection on [default: 'masked.masks'] |
A list of data.frames with edge coordinates
## Not run: # Create a new Staffli object, mask, align and plot edges for image 2 st.obj <- CreateStaffliObject(imgs, meta.data) edges <- LoadImages(st.obj, verbose = TRUE) %>% MaskImages() %>% get.edges(index = 2) plot(as.raster(edges) %>% as.cimg()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.