Description Usage Arguments Details Value
View source: R/element_count.R
Calculates total number of counts in both images and counts for overlap, counts only in slice_image1, counts only in slice_image2.
1 | element_count(slice_no, targetlabel, slice_img1, slice_img2)
|
slice_no |
slice_no with integer format |
targetlabel |
Label_No with integer format |
slice_img1 |
Slice image for filename1 |
slice_img2 |
Slice image for filename2 |
Inputs one slice number and one label number. Function calculates counts for total number of pixels in both images, pixels for overlap in the given slice for the given label number, pixels only exist in slice_image1 and pixels only exist in slice_image2. This function is primarily used by other functions.
Total counts for all label numbers and slice numbers in both images, overlap, only in slice_image1 and only in slice_image2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.