Added min accessor to ImageParams, and top/left/bottom/right helpers.