Author: post
Date: 2009-07-16 17:41:44 +0200 (Thu, 16 Jul 2009)
New Revision: 87
Modified:
RawSpeed/RawImage.cpp
cameras.xml
Log:
- Added support for Olympus E-P1
- Print estimated white/black levels on pre-emptively supported cameras.
Modified: RawSpeed/RawImage.cpp
===================================================================
--- RawSpeed/RawImage.cpp 2009-07-08 14:57:30 UTC (rev 86)
+++ RawSpeed/RawImage.cpp 2009-07-16 15:41:44 UTC (rev 87)
@@ -118,6 +118,7 @@
blackLevel = b;
if (whitePoint==65536)
whitePoint = m;
+ printf("Estimated black:%d, Estimated white: %d\n", blackLevel,
whitePoint);
}
gw = dim.x*cpp;
float f = 65535.0f / (float)(whitePoint-blackLevel);
Modified: cameras.xml
===================================================================
--- cameras.xml 2009-07-08 14:57:30 UTC (rev 86)
+++ cameras.xml 2009-07-16 15:41:44 UTC (rev 87)
@@ -593,6 +593,16 @@
<Crop x="0" y="0" width="2576" height="1924"/>
<Sensor black="32" white="1023"/>
</Camera>
+ <Camera make="OLYMPUS IMAGING CORP." model="E-P1">
+ <CFA width="2" height="2">
+ <Color x="0" y="0">RED</Color>
+ <Color x="1" y="0">GREEN</Color>
+ <Color x="0" y="1">GREEN</Color>
+ <Color x="1" y="1">BLUE</Color>
+ </CFA>
+ <Crop x="0" y="0" width="4094" height="3082"/>
+ <Sensor black="55" white="4095"/>
+ </Camera>
<Camera make="PENTAX Corporation" model="PENTAX K100D">
<CFA width="2" height="2">
<Color x="0" y="0">RED</Color>
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit