Project

General

Profile

Bug #9010

RAW pixel size in app is more than in camera. Fuzzy edges on editable / exported images.

Added by Oleg Fritz over 6 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Darkroom
Start date:
10/17/2012
Due date:
% Done:

100%

Affected Version:
git development version
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Using darktable 1.0.5 on Ubuntu 11.10 for Sony Alpha SLT-A65 raws. After export image from darktble there is small fuzzy edges on full-sized images. Camera produces 24mp 6000x4000px JPEGs with normal edges. Full-sized image exported with darktable have 6048х4024px and fuzzy edges.

ARW file: http://yadi.sk/d/MLJOCmAq0FbIL
Camera JPEG of same file with correct edges(6000x4000px): http://yadi.sk/d/19qF4Yf50FcoA
Darktable XMP: http://yadi.sk/d/p7ZM20sx0Fd8X

darktable-screen.png (1.7 MB) Oleg Fritz, 10/17/2012 06:00 PM

History

#1 Updated by Oleg Fritz over 6 years ago

Example how it looks while editing(right edge of image)

#2 Updated by Ulrich Pegelow over 6 years ago

  • Status changed from New to Triaged
  • Category set to Darkroom
  • Affected Version changed from 1.0.5 to git development version
  • % Done changed from 0 to 20

#3 Updated by Ulrich Pegelow over 6 years ago

  • % Done changed from 20 to 10
  • Status changed from Triaged to Confirmed

I confirm your findings. There is a right border with some garbled pixels when processing your raw file.

ufraw suffers from the same problem (also producing a 6048 x 4024 output).

dcraw does not show this problem (producing a 6024 x 4024 output).

#4 Updated by Pascal de Bruijn over 6 years ago

  • % Done changed from 10 to 50
  • Priority changed from Medium to Low
  • Status changed from Confirmed to In Progress

This is probably a RawSpeed problem, and can be fixed by changing the crop parameters in:

/usr/share/darktable/rawspeed/cameras.xml

I'll notify Klaus Post about this.

#5 Updated by Pascal de Bruijn over 6 years ago

Adding the following seems to fix the issue:

<Camera make="SONY" model="SLT-A65">
<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="0" height="0"/>
<Sensor black="520" white="16596"/>
</Camera>

#6 Updated by Pascal de Bruijn over 6 years ago

Ok, so that got mangled (don't use the above).

I've just committed a proposed fix to master:

https://github.com/darktable-org/darktable/commit/278cea58769736b4153e55a9ee0e4b7b849cfa85

I still have to talk to Klaus Post about this, if this is the correct approach, but it should get you by at least.

#7 Updated by Pascal de Bruijn over 6 years ago

  • Status changed from In Progress to Fixed
  • Target version set to Candidate for next major release
  • % Done changed from 50 to 100

So that wasn't a proper fix after all...

Thanks to Klaus Post there is a proper fix now:
https://github.com/darktable-org/darktable/commit/d8ca7bb16d1242b92f6aa0f4057727da3bf367bd

Also available in: Atom PDF