Comments (6)
The reason, as I remember it is, that it basically gives a different result than dcraw. I want to minimize the difference between them, and since it (even at the time I started writing RS) is a very old camera, I just decided to ignore it than spend too much time on it, since Nikon luckily dropped that path of development.
from rawspeed.
The result it gives is what's in the file, a half height image that needs to be scaled up after demosaic. dcraw does that upscale. I don't think rawspeed does any demosaic itself, and if it does, at least darktable certainly doesn't use it, so it's usually up to the app to scale up the image.
rawspeed should definitely provide the app with the metadata it needs to apply the operation. We need to think of an interface to do this as it's also an issue with the fuji cameras that need rotation after demosaic. I suppose adding that info to cameras.xml and providing it through the existing metadata interface would be our best bet.
from rawspeed.
There are a lot of D1X files in archives.
So, generally speaking, it is better to decode it and provide aspect ratio to RawSpeed users.
The same thing with some very old Kodak files (DC50 or DC120, cannot remember). But the image is compressed in horizontal direction.
from rawspeed.
@LibRaw I assume you mean decode the raw data and pass on the metadata on what to do to it after demosaic (2x scale up in this case). That's the only thing you can do when the app wants the raw bayer data and not a RGB image.
from rawspeed.
I agree. The only way to deal with bayer-processing upper layer is to return bayer array as-is and provide aspect ratio data for use after demosaic.
from rawspeed.
Should be fixed with #49
from rawspeed.
Related Issues (20)
- gcc warning with strict-aliasing [-Wstrict-aliasing]
- New 5Ds R sRaw/mRaw files are broken
- Strange output from the Nikon E5700 HOT 1
- Suggestion for a safer getData() API HOT 2
- Implement a safer TiffEntry/CiffEntry way of accessing data HOT 7
- cameras.xml is invalid
- Missleading indentation warning in OrfDecoder.cpp HOT 1
- FujiFilm compressed RAF support (X-Pro2, more cameras expected) HOT 6
- Canon 80D Support HOT 2
- 'This PPA does not support xenial'
- Nikon, compressed raws: an issue with whitelevel HOT 9
- White balance coefficients are not returned for Canon G1X Mark II HOT 4
- White balance coefficients are not returned for Canon EOS M10 HOT 1
- C++ standard version? HOT 9
- Fuji X30 in a DNG container fails parsing
- getCamera() with prefix-search issue
- Coding style? HOT 1
- Bug in NikonDecompressor for "lossy after split" raws HOT 6
- Document that darktable-org/rawspeed is now the upstream. HOT 1
- Support for Sony RX1R-II HOT 1
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.