View source: R/load_mask_data.R
load_tiff_masks | R Documentation |
It is imperative that the TIFF images contain only cell boundaries, with pixel intensity values such that CellID = (2^image_bits -1) - pixel_value
.
load_tiff_masks(images, image_bits, cell_id_offset = -1, return_points = F)
images |
An images dataframe, from |
image_bits |
an integer indicating the bit-depth on the TIFF images, such that maximum intensity is |
cell_id_offset |
the offset respect to maximum pixel intensity, such that |
return_points |
if TRUE it will add a "masks" dataframe to the cell_data object, containing the mask coordinates. |
Such TIFF images are automatically generated by the mask_mod branch of the CellID program found at: https://github.com/darksideoftheshmoo/cellID-linux/tree/mask_mod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.