ros-perception/vision_opencv — pull request #50 by dimatura (2014-11-13 00:54:22+00:00)
Title: Python image_geometry typos and updates for cv2

Hi, I'm using the Python `image_geometry` module and have noticed a couple of problems. `PinholeCameraModel` is lacking a `tfFrame` method, which breaks `StereoCameraModel.tfFrame()`. The `PinholeCamera.rectifyImage` method does not currently work, for two reasons. First, `np` is used instead of `numpy`. Second, the arguments seem to assume the old `cv` API, and fail with `cv2`. This PR fixes these problems.