Ask Your Question

Transform Red to Yellow

asked 2013-10-15 02:01:39 -0500

Chang Lin gravatar image

updated 2016-01-23 11:41:22 -0500

I want to make image manipulation app for red-green color blind person.

Is there any way for me to transform red to yellow and green to blue while keeping blue the same? I am developing an android app using opencv library.

Do I have to create a new library for this or I can directly manipulate inside the source code itself?

Thank you very much

edit retag flag offensive close merge delete


You probably will have difficulties to distinguish green from blue then, if green turns to blue and blue stays blue.. ;)

Ben gravatar imageBen ( 2013-10-15 03:06:30 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-15 09:05:18 -0500

Geppertm gravatar image

I think the simples way ist to convert the Image to HSV, there you can easily change the color from red to yellow. After that you can convert it back to RGB(or BGR).


edit flag offensive delete link more

Question Tools


Asked: 2013-10-15 02:01:39 -0500

Seen: 341 times

Last updated: Oct 15 '13