Insert threshodling between pixel and object classification