when a user clicks on a pixel, many scores are generated using the surrounding color information via "mahalanobis ring score" attribute generation (read the jss paper for a detailed exposition). these scores are then used to build a random forest machine-learning classifier which will then classify pixels in any given image.