thresholding, drawing, color transform and etc added