GithubHelp home page GithubHelp logo

xepost / tud_img_prep Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raultron/tud_img_prep

0.0 2.0 0.0 14 KB

Set of tools for processing camera images. It is a ROS wrapper for comonly used OpenCv techniques including deinterlace of analog images and filtering.

License: MIT License

CMake 28.86% Python 13.11% C++ 58.03%

tud_img_prep's Introduction

tud_img_prep

Set of tools for preprocessing a camera video feed using OpenCV.

Includes:

  • Deinterlacing of analog video signals, e.g. video feed acquired using an Easycap USB capture card. Different interlacing methods:
    • Half image
    • Interpolation (several interpolation methods)
  • Color format selection and conversion
  • Equalization of the images
    • Manual equalization using brighness and contrast controls
    • Automatic using OpenCV EqualizeHistogram function
  • Filtering
    • Median
    • Gaussian
    • Bilateral Filter

All the options can be changed in real time using Dynamic Reconfigure.

Installation

Clone repository in your catkin worskspace:

cd ~/catkin_ws/src
git clone https://github.com/raultron/tud_img_prep.git

Compile using catkin:

catkin build tud_img_prep

Usage

rosrun tud_img_prep img_prep

This package requires ROS camera topics properly published.

Default input topics:

/cam/image_raw
/cam/camera_info

Default output topics:

/prep/cam/image_raw
/prep/cam/camera_info

The default camera namespace can be changed using the parameter "camera_namespace" in a launch file or directly in the terminal.

For example, if you have a camera that publishes in:

/my_camera/image_raw
/my_camera/camera_info

Then the terminal command will be:

rosrun tud_img_prep img_prep _camera_namespace:=/my_camera

And the ouput topics will be

/prep/my_camera/image_raw
/prep/my_camera/camera_info

tud_img_prep's People

Contributors

raultron avatar

Watchers

James Cloos avatar xepost avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.