Update of /cvsroot/ufraw/ufraw In directory vz-cvs-3.sog:/tmp/cvs-serv14206
Modified Files: ufraw_routines.c ufraw_settings.cc Log Message: Make sure the 14000K WB presets on the OLYMPUS E-PL1 and E-PL2 can be used without temperature scale overflow. Index: ufraw_settings.cc =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_settings.cc,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- ufraw_settings.cc 18 Aug 2011 01:49:21 -0000 1.19 +++ ufraw_settings.cc 22 Aug 2011 16:30:16 -0000 1.20 @@ -198,7 +198,7 @@ class Temperature : public UFNumber { public: - Temperature() : UFNumber(ufTemperature, 2000, 15000, 6500, 0, 50, 200) { } + Temperature() : UFNumber(ufTemperature, 2000, 20000, 6500, 0, 50, 200) { } void OriginalValueChangedEvent() { if (HasParent()) ParentImage(this).SetWB(uf_manual_wb); Index: ufraw_routines.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_routines.c,v retrieving revision 1.113 retrieving revision 1.114 diff -u -d -r1.113 -r1.114 --- ufraw_routines.c 6 Aug 2011 16:10:47 -0000 1.113 +++ ufraw_routines.c 22 Aug 2011 16:30:16 -0000 1.114 @@ -232,7 +232,7 @@ /* Convert between Temperature and RGB. * Base on information from http://www.brucelindbloom.com/ - * The fit for D-illuminant between 4000K and 15000K are from CIE + * The fit for D-illuminant between 4000K and 20000K are from CIE * The generalization to 2000K < T < 4000K and the blackbody fits * are my own and should be taken with a grain of salt. */ @@ -279,7 +279,7 @@ { double Tmax, Tmin, testRGB[3]; Tmin = 2000; - Tmax = 15000; + Tmax = 20000; for (*T = (Tmax + Tmin) / 2; Tmax - Tmin > 0.1; *T = (Tmax + Tmin) / 2) { Temperature_to_RGB(*T, testRGB); if (testRGB[2] / testRGB[0] > RGB[2] / RGB[0]) ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs