UbiquityRobotics / raspicam_node

ROS node for camera module of Raspberry Pi
BSD 3-Clause "New" or "Revised" License
292 stars 162 forks source link

Grayscale images #52

Open jokla opened 6 years ago

jokla commented 6 years ago

Hi!

Would it be possible with raspicam_node to get from the raspicam a grayscale image and publish it instead of the color one?

Thank you!

rohbotics commented 6 years ago

It may be possible, but probably isn't something are going to implement in the near future.

If it is reasonably simple, then its possible that we can add this feature.

jokla commented 6 years ago

Hi!

Thank you very much for the answer!

rohbotics commented 6 years ago

Keeping the issue open, in case someone wants to implement this in the future :)

davecrawley commented 6 years ago

Giovanni,

If grayscale images is something you want please take a look at the code, implement your change, and issue it as a pull request. We'll review it, put it through our testing and assuming you agree to contribute it and the code quality is good we'll include it in the main-line branch. This will help everyone!!

David

On Wed, Oct 17, 2018 at 11:47 PM Giovanni Claudio notifications@github.com wrote:

Hi!

Thank you very much for the answer!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UbiquityRobotics/raspicam_node/issues/52#issuecomment-430894304, or mute the thread https://github.com/notifications/unsubscribe-auth/ALDeVszxtAl_kFz2y1QFN5BD21qmceJSks5umCP9gaJpZM4Xb2Pe .

kmtm commented 2 years ago

Wondering if anyone has implemented? I'm looking to capture images in BW to port into a CNN and would love to remove an intermediary step with cv2 if possible.