Count classes in classified image

classify.table(class, N)

Arguments

class

classes image

N

number of classes

Value

table with number of voxels per class