Ask Your Question

yasin's profile - activity

2019-09-23 06:07:16 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

@sjhalayka Can I convert an RGB image into a thermal image?

2019-09-22 10:52:55 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

These are basically constants for ease, proposed here. Did you saw the code? How do you calculate this? I mean the wavel

2019-09-22 02:04:50 -0600 received badge  Enthusiast
2019-09-21 11:06:51 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

Can you tell me why most temperatures dances between 4000 and 5500? Have a look at the rules: w = 650 - (175 * h) / 240

2019-09-21 11:00:46 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

this is my current code with C++ in Visual studio, Thanks.

2019-09-21 01:56:10 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

this is my current code with C++ in Visual studio, which has a big dictionary (yet not enough) found on web. Now I'll ch

2019-09-21 01:54:59 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

this is my current code, which has a big dictionary (yet not enough) found on web. Now I'll change according to your com

2019-09-19 02:26:58 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

Thanks a lot. One more thing, shouldn't I suppose to get one temperature for each pixel? I mean according to your answer

2019-09-19 02:23:37 -0600 marked best answer How I know the temperature scheme for COLORMAP_JET?

I want to print the equivalent temperature of a pixel of an image that is converted by COLORMAP_JET. e.g. an image is 100 x 100 in dimension, then the temperature array be like,

temp[] = {
    { 104, 1000, 600, .........},
    { 34, ,234, 678, ..........},
    { ..........................},
    { ..........................}
}

I want to store those temperatures in an array named temperature.

    applyColorMap(img, im_color, COLORMAP_JET);
    count = 0;
    for (int i = 0; i < img.rows; i++) {
        for (int j = 0; j < img.cols; j++) {
            temperature[count++] = ;/*get temperature here*/
        }
    }

How can I do that?

2019-09-19 02:23:37 -0600 received badge  Scholar (source)
2019-09-19 02:23:31 -0600 received badge  Supporter (source)
2019-09-18 19:26:57 -0600 received badge  Student (source)
2019-09-18 14:12:15 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

Ok! I think I'm getting closer. So, how can I calculate peak photon wavelength in a spectrum for a pixel (RGB value)?

2019-09-15 02:55:45 -0600 commented answer How I know the temperature scheme for COLORMAP_JET?

@sjhalayka temperature[j*img.rows + i] will start from say 100, then what about previous indeices?

2019-09-14 07:10:33 -0600 asked a question How I know the temperature scheme for COLORMAP_JET?

How I know the temperature scheme for COLORMAP_JET? I want to print the equivalent temperature of a pixel of an image th