Comments (6)
No, they are not. Please read the ArwDecoder once more :)
I see. Makes sense. As I said: I did not investigate further. So my worries were unfounded.
from rawspeed.
the cameras.xml says that it should be:
<Camera make="SONY" model="DSLR-A850">
<ID make="Sony" model="DSLR-A850">Sony DSLR-A850</ID>
<CFA width="2" height="2">
<Color x="1" y="1">BLUE</Color>
<Color x="1" y="0">GREEN</Color>
<Color x="0" y="1">GREEN</Color>
<Color x="0" y="0">RED</Color>
</CFA>
<Crop x="0" y="0" width="6080" height="4048"/>
<Sensor black="500" white="15000"/>
</Camera>
<Camera make="SONY" model="DSLR-A900">
<ID make="Sony" model="DSLR-A900">Sony DSLR-A900</ID>
<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="6080" height="4048"/>
<Sensor black="520" white="16383"/>
</Camera>
from rawspeed.
Exif says that they are 12-bit, so the old black/white levels look more correct
gonna check in dt next
from rawspeed.
@axxel for RAW_SONY_A850.ARW and RAW_SONY_A900.ARW from rpu, the
-blackLevel: 125
-whitePoint: 3750
and
-blackLevel: 130
-whitePoint: 4095
are the right ones.
with the values you pasted, images look completely crippled.
from rawspeed.
OK, so the numbers in the xml are wrong. The code I pushed did not change the behavior. So the old numbers are still used, wherever they are actually from (did not investigate).
from rawspeed.
OK, so the numbers in the xml are wrong.
No, they are not. Please read the ArwDecoder once more :)
Especially grep for mShiftDownScale
.
The metadata in XML (for arw raws in general it seems) is specified for 14-bit raws.
These raws are 12-bit. So for them the metadata is computed by simply >> 2
.
EDIT: s/xmp/XML/
from rawspeed.
Related Issues (20)
- Fujifilm X-T5 Raw compressed doesn't work in github version HOT 5
- Get black level and white point from EXIF for Canon HOT 5
- Move bit depth from mode to sensor data? HOT 4
- Sony ILCE-7M4 (A7IV) Lossless Raw support missing HOT 2
- Color-space after ColorMatrix transformation HOT 5
- Sony Software :ILCE-7M4 v1.10 YCbCr pseudo-raw files are not supported HOT 1
- Crop setting for Olympus M1 Mark III HOT 10
- Crop for Olympus E-M1MarkII
- Website died
- src/librawspeed/README.md is out of date HOT 4
- Looking for bits per sample HOT 12
- Using the ColorFilterArray API to get the filter color for a row/col HOT 4
- DNG opcode level 2 support HOT 8
- Support for the new Sony A6700 (ILCE-6700) please :) HOT 9
- Support JPEG XL compression in DNG HOT 5
- On the use of dithering when decompressing lossless NEF files HOT 1
- Probable overscanning of sony ILCE-7M4 APS-C cropped RAWs HOT 13
- Required compiler too strict HOT 1
- WXS schema failed to compile HOT 2
- How to help for developing new decompressor? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rawspeed.