0
\$\begingroup\$

I want to develop an app for smartphones to measure some special parameters with taking images. I think if I have the color temperature value that camera in auto white balance mode applied on that image, I can estimate that parameter more accurately. Do you think is there any way to find this value? I know that is possible in raw files, but i want to know can I find in somewhere in jpg image captured by smartphone or can I calculate it?

Thanks

\$\endgroup\$
4
  • \$\begingroup\$ This question appears to be off-topic because it is really about the APIs that smartphones make available. That's not a photography question -- it's a programming one, and one that's specific to each phone OS. \$\endgroup\$
    – mattdm
    Commented Sep 28, 2014 at 1:20
  • 1
    \$\begingroup\$ I'd say that "can I find it in the JPEG?" makes this on-topic. \$\endgroup\$
    – Philip Kendall
    Commented Sep 28, 2014 at 22:13
  • \$\begingroup\$ @PhilipKendall I can't see why. It's still about "measuring some special parameters", not about photography. (Cameras can also be used as doorstops or to pound in nails, but those questions are also off topic.) \$\endgroup\$
    – mattdm
    Commented Oct 14, 2014 at 18:55
  • \$\begingroup\$ I asked this question in programming section but they told me it depends to photography and you should ask it in there. Now you asking me to ask this question in programming one. What should I do ?!!! \$\endgroup\$ Commented Oct 15, 2014 at 19:48

1 Answer 1

1
\$\begingroup\$

Check the metadata with exiftool. If it is there, you are lucky. I don't think color space information of this detail is captured, especially with a smartphone..

\$\endgroup\$
4
  • \$\begingroup\$ exiftool doesn't show the color temperature value of raw file ! I found it in adobe Photoshop for raw file. but there was nothing for jpg file. Even the jpg file that was captured by a DSLR camera !! \$\endgroup\$ Commented Sep 26, 2014 at 15:38
  • \$\begingroup\$ If the jpeg image has color temperature information, you can retrieve it with this exiftool command: exiftool -ColorTemperature <file name>. I just tested it and it works on jpg files I have. \$\endgroup\$
    – MirekE
    Commented Sep 27, 2014 at 20:19
  • 1
    \$\begingroup\$ Clarification to the above - random test shows that my digital camera files have this exif information, but mobile phone files don't. \$\endgroup\$
    – MirekE
    Commented Sep 27, 2014 at 20:34
  • \$\begingroup\$ I test with my camera (Sony Nex 3N) But I couldn't find it in JPEG mode. What is the brand of your Camera? \$\endgroup\$ Commented Oct 14, 2014 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.