Number of digits in exposure parameter

AfterShot Pro General Questions & Getting Started Forum
Post Reply
denisot
Posts: 4
Joined: Fri Feb 21, 2014 8:54 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Number of digits in exposure parameter

Post by denisot »

Hello there.
I couldn't find the info in this forum, so I start a new topic.
It seems that the lowest exposure adjustement I can write (and actually read from an .xmp sidecar file) is 0.01. Is there a way to modify this limit? The idea behind is that I plan to do timelapse movies for which the exposure of each frame should be adjusted finely to prevent any flicker.
Thanks for your help.
Cheers
denis
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Number of digits in exposure parameter

Post by afx »

Well, the adjustment granularity needs to be available in the code. That might not support anything lower (just because this is written as a decimal does not necessarily mean it is a decimal in the code).

You might want to look at plugins like bez, maybe they allow a finer granularity.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
denisot
Posts: 4
Joined: Fri Feb 21, 2014 8:54 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: Number of digits in exposure parameter

Post by denisot »

Thanks for your quick reply AFX. I'll look into it.
Cheers
denisot
Posts: 4
Joined: Fri Feb 21, 2014 8:54 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: Number of digits in exposure parameter

Post by denisot »

Hello.
I bring the solution to my problem, in case it might be useful to somebody else.
In fact ASP can read values from the .xmp sidecar file much more precise than the 2 digits values visible in the UI. I realized that by importing an image with a sidecar file where the exposure value was 0.001: the exposure edit box indicated 0.00 but I immediately exported my parameters to an xmp file (i.e. erase the xmp file I had used to import the image) and found that the exposure value in this new xmp file was still 0.001. So the limitation was in the UI settings.

In the file /opt/AfterShotPro/supportfiles/tools/Advanced/Exposure.ui, you can find the part related to the Exposure edit box:

Code: Select all

<widget class="QDoubleSpinBox" name="exposureval_edit">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
       <horstretch>1</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>48</width>
       <height>20</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>48</width>
       <height>20</height>
      </size>
     </property>
     <property name="cursor">
      <cursorShape>IBeamCursor</cursorShape>
     </property>
     <property name="focusPolicy">
      <enum>Qt::StrongFocus</enum>
     </property>
     <property name="acceptDrops">
      <bool>true</bool>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="buttonSymbols">
      <enum>QAbstractSpinBox::NoButtons</enum>
     </property>
     <property name="minimum">
      <double>-3.000000000000000</double>
     </property>
     <property name="maximum">
      <double>3.000000000000000</double>
     </property>
     <property name="singleStep">
      <double>0.100000000000000</double>
     </property>
    </widget>
Where I added (just before the minimum and maximum settings):

Code: Select all

 <property name="decimals">
        <number>5</number>
     </property>
And I get the 5 digits precision I needed.

Cheers
denis
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Number of digits in exposure parameter

Post by afx »

Cool ;-)

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Post Reply