View source: R/helping-functions.R
dsc | R Documentation |
This function Calculates the Dice similarity coefficient of two window objects of type 'owin' (see '?spatstat.geom::owin').
dsc(win0, win1, winBackground = NULL, plot = FALSE)
win0: |
a reference image object of type 'owin'. |
win1: |
a second image object of type 'owin'. |
winBackground: |
an optional bounding window of type 'owin' which acts as the background window for both 'win0' and 'win1'. This is only used for visualization. |
plot: |
whether to plot the result. |
A numeric, the calculated Dice similarity coefficient.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.