Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial release of image processor #908

Merged
merged 1 commit into from
Nov 17, 2017
Merged

Conversation

amc-nu
Copy link
Member

@amc-nu amc-nu commented Nov 17, 2017

Status

DEVELOPMENT

Description

Add image processing nodes for

  • Rotation
  • Rectification on calibrated cameras

Attending issue autowarefoundation/autoware_ai#1031

Todos

  • Tested on Ubuntu 14.04
  • Tested on Ubuntu 16.04

Steps to Test or Reproduce

Image Rotator

roslaunch image_processor image_rectifier.launch

Input:

  • Image Stream can be set using image_src (default: image_raw)
  • rotation_angle arbitrary angle in degrees to perform rotation over the center of the image. i.e.
    roslaunch image_processor image_rotator.launch rotation_angle:=180
  • mirror_vertical Perform Mirroring vertically
  • mirror_horizontal Perform Mirroring horizontally

Output:

Topic image_rotated

Order of processing is

  1. Vertical Mirroring
  2. Horizontal Mirroring
  3. Rotation

Image Rectifier

roslaunch image_processor image_rotator.launch

Input:

  • Image Stream can be set using image_src (default: image_raw)
  • Intrinsic parameters topic can be set using camera_info_src (default: camera_info)

Output:

  • Image Rectified on image_rectified according to intrinsic parameters given on camera_info

Both nodes support name spaces. See example on launchfile for ladybug camera

roslaunch image_processor image_recitifer_ladybug.launch
roslaunch image_processor image_rotator_ladybug.launch

image

-rotation
-rectification
nodes included
@amc-nu amc-nu merged commit 5489ecb into develop Nov 17, 2017
@amc-nu amc-nu deleted the feature/image_processor branch November 17, 2017 11:19

1.6 (2017-11-15)
------------------
Initial release

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amc-nu you do not need to do this, this will be done by a release script: https://github.com/CPFL/Autoware/issues/766#issuecomment-325096495 (step 3., catkin_prepare_release).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know! Thanks!

@dejanpan
Copy link

christopher and I think it looks ok.

What kind of lense are you using above? the rectified image still looks very distorted.

@amc-nu
Copy link
Member Author

amc-nu commented Nov 19, 2017

What kind of lense are you using above?

It’s a fish eye lens. Indeed, that part of the image is incorrect(it is covered by the chassis). We’ll recalibrate next week, using a smaller chessboard.

@mitsudome-r mitsudome-r added the version:autoware-ai Autoware.AI label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants