skalalab / cell-analysis-tools

Collection of tools used for pre-processing, processing and post processing
GNU General Public License v3.0
2 stars 0 forks source link

new function: uniquely relabel rois or labeled image #9

Closed emmanuel-contreras closed 1 year ago

emmanuel-contreras commented 3 years ago

8bit images can sometimes have repeat rois, relabel rois so that they have unique values could use: rgb to gray function code, for 8bit --> assign values greater than 256 sequentially and then relabel the whole image.