change behavior with calibration yaml.

overwrite image size with yaml data if yaml is specified.
if no calib is provided, use image size.