Multipliers truncated in 20110711 cvs

Alberto
2011-07-15
2014-02-20
  • Alberto
    Alberto
    2011-07-15

    Hi,
    I built the last code from cvs and when I open any raw file (Canon 7D or 40D) it shows me multiple error messages stating that the multipliers are too big and will be truncated. The image, then, shows completely wrong colors.
    Everything is fine with previous CVS code.

    Best,
        Alberto

     
  • I have just commited a fix for this bug to cvs.

    Regards,
    Niels Kristian

     
  • Alberto
    Alberto
    2011-07-16

    Hi Niels,
    I confirm it is fixed now… Thanks!!

    I was thinking to try digging the "famous" bug of the luminosity/saturation tab in the next days. Can you please point out which are the functions used there?

    Regards,
        Alberto

     
  • Alberto
    Alberto
    2011-07-16

    Exactly that one.
    With concert photos (which I am working on a lot lately) it is a very annoying bug as it is recurring very often (and I am forced to work on sat/contrast in GIMP).
    I will upload a raw rile ASAP.

    Best,
       Alberto

     
  • Alberto
    Alberto
    2011-07-16

    Hi,
    here you find the raw file: http://albertoferrante.name/ufraw/IMG_8285.cr2

    In this case you will not see the problem unless using a camera profile such as: http://albertoferrante.name/ufraw/7D-nonlinear.icc (gamma 0.45, linearity 0.1). On other images (it really depend on the image) you can see the problem even by using the color matrix, so it is not a problem of the profile.

    Best,
        Alberto

     
  • Hi Alberto.

    Thanks for the file. I can see the problem and hope to find time to look into it. If you want to take a look at the code I think you should start with the function developer_prepare() in ufraw_developer.c.

    Regards,
    Niels Kristian

     
  • Alberto
    Alberto
    2011-07-16

    Thanks!
    I will do it maybe at the end of next week…

    Regards,
       Alberto

     
  • Alberto
    Alberto
    2011-08-12

    Hi,
    I tried to look into this problem, but it looks more complex than I tough…. Functions dealing with saturation/contrast make use of external libraries. It would take a really long time to debug this without a knowledge of what happens in each function. It looks like a rounding problem or something like this, but I could not point out where the problem could be.

     
  • Yes. It is part of the color management code which depends on the lcms library. Unfortunately I have not found time to look into the problem.

    Regards,
    Niels Kristian

     
  • Please test the current cvs code which use lcms 2.x. Is this problem still present?

    Regards,
    Niels Kristian

     
  • jacquin
    jacquin
    2014-02-20

    Hi, Niels,
    I'm just using Gimp and UFRaw… so, I'm really a very new user, but I've the same problem with multipliers and images troncated. What is cvs code ans how can it fix this bug ?