Ask Your Question
1

Transform Red to Yellow

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

Chang Lin gravatar image

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

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

Comments

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

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

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).

Best,

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 727 times

Last updated: Oct 15 '13