In the second step, we create an object segmentation. We flag the powder class as foreground and click on Objects to perform the segmentation.


You may use more then one foreground class in regression. For example, you may build a model with separate pixel classes for white and dark grapes, flag both as foreground and use both in regression modeling.