RNotes | EBImage


library(EBImage)

simple example

x = readImage(system.file('images', 'shapes.png', package='EBImage'))
x = x[110:512,1:130]
display(x, title='Binary')

y = bwlabel(x)
display(normalize(y), title='Segmented', all=TRUE)

read nuclei images

x = readImage(system.file('images', 'nuclei.tif', package='EBImage'))
display(x, all=TRUE)