setROI(double x, double y, double width, double height) { roiX = x; roiY = y; roiWidth = width; roiHeight = height; }