Mobile app version of vmapp.org
Login or Join
Sims5801359

: Add thermal effect to Image I am an Android Developer(not graphic Designer). So i have to do all the step in Coding. I want to add thermal effect to Image. What are the steps of it.

@Sims5801359

Posted in: #Android #Images

I am an Android Developer(not graphic Designer). So i have to do all the step in Coding.

I want to add thermal effect to Image. What are the steps of it.

I have added night vision effect to it by setting red and blue to zero. then only green is on .it look like night vision. So what color saturation ,hue, or rgb value. I should set to get this effect.

and i have asked a question at Stackoverflow

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sims5801359

1 Comments

Sorted by latest first Latest Oldest Best

 

@Karen819

Bit of an odd question, since you are coming specifically from the programming side of things, but I'm a front-end developer myself so I can appreciate this.

The difficult part with Thermal-style imaging is that some areas are bright and intense (where the heat is) and the other areas are very dark and muted (where there is no heat). Because of this, there are actually two layers of effects that have to be performed.


The first layer is to remove all the red and green. Red and green are used to indicate heat, so by removing all of it, we are removing all the base heat. You will be left with a dark blue hued image to use as a background.
The second layer is to choose which objects are "hot" and colour them as such. By only selecting those objects, and then applying a gradient map (where each colour is mapped to a different colour on the gradient spectrum) and using a rainbow gradient for the gradient reference, you should get a nice wacky looking "hot" image. You take that new image and red shift it, removing (but not completely removing) the blue and some of the green.


Here is a step-by-step Photoshop tutorial from which I take reference: www.dreevoo.com/content.php?id=1639
Although not programmatically done, this method is the closest way that I, from a GD persepective, can help out.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme