I need to write an anaglyph images program. Let say I have two mono-color images: red color one and cyan color one. How can I combines them into one to make an anaglyph image?
Please give me an advice.
Thank you.
P/s: I’m using C# program language.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the images are RGB, use a Darken blending mode. If they’re CMYK, use a Lighten blending mode.
For darken, take the lower value (Math.Min()) of each channel.
For lighten, take the higher one (Math.Max()).