append_hues | 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"
append_hues(cell_data, image_bits, cell_id_offset = -1, return_points = F)
cell_data |
a cell_data object as loaded by rcell2::load_cell_data |
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. |
This is automatically generated by the mask_mod branch of the CellID program found at: https://github.com/darksideoftheshmoo/cellID-linux/tree/mask_mod
To play with the XY coordinates of the TIFF masks you may want to set return_points = T
.
Or if you want to skip calculation of the Hu moments, checkout rcell2:::pic_df_from_tiff
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.