SCREEN is a CONSTANT REFERENCE a Screen object Screen(0) and not its contents (it is a convenience).
So per definition setROI() changes the region of interest of the SCREEN object.
If you do not want this, you have to qualify your Screen/Region methods with the Screen/Region object or use with:
SCREEN is a CONSTANT REFERENCE a Screen object Screen(0) and not its contents (it is a convenience).
So per definition setROI() changes the region of interest of the SCREEN object.
If you do not want this, you have to qualify your Screen/Region methods with the Screen/Region object or use with: