I think I have been going about this the wrong way.
The light meter in the camera measures the light it see's and figures out an exposure to perfectly expose mid gray.
But what aperture is the camera at when its metering? With a small aperture not much light is getting though and with a large aperture more is getting through so when the camera meters 7.5 the question has to be at what aperture.
when the camera knows what the aperture is it can adjust its metered light reading accordingly so if you have a 1.4 lens and a 2.8 lens the metered value of light will be two stops less on the 2.8 lens as compared with the 1.4 the raw light value on the 2.8 is 2 stops less than on the 1.4 lens so the camera adds 2 stops compensation more to the 2.8 than the 1.4
Ok so now it has a lightvalue to work with whats it going to do?
Try to perfectly expose middle gray of course.
So if its bright out , the exposure will need to be shorter and if its darker it will be longer. right.
So it needs to calculate a shutter speed with the current iso that will expose mid gray as mid gray in the current lighting conditions.
now lets say you want the shutter to close a couple of stops now the camera needs to expose for 2 stops longer.
Ok now what do the metered values mean without a known aperture , they don't there has to be an aperture to give the readings meaning.
I am pretty sure if a Pentax doesn't know the max aperture it assumes F1.2 doesn't matter a great deal to be fair but you need some number to calculate a light value yesterday my camera was mostly working on around 7.5 +/- half a stop now it wasn't that dark but in reality it was around 10 EV.
So if we know the speed it chose and the light it measured then all that is needed is to find out what exposure value it was going for.
then we can figure how much compensation it applied for the aperture used. Really that should be a constant as it trys to perfectly expose mid gray.
---------- Post added 03-29-17 at 05:37 PM ----------
Originally posted by wombat2go Yes, you can add your own granularity something like this (linux bash):
#!/bin/bash
PR_wkdir=.
for file in $PR_wkdir/*; do
if [ ${file: -4} == ".DNG" ] || [ ${file: -4} == ".dng" ] || [ ${file: -4} == ".jpg" ]|| [ ${file: -4} == ".JPG" ]
then
PR_name=${file%\.*}
PR_name=$(basename "$file" | cut -d. -f1)
exiftool -a -u -g $file >$PR_name"_All_TAGS.txt"
cat $PR_name"_All_TAGS.txt" |grep Exp >$PR_name"_My_TAGS.txt"
cat $PR_name"_All_TAGS.txt" |grep LV >>$PR_name"_My_TAGS.txt"
fi
done
Thank you for that I will give it a go.
Any idea's how to find the 39th metering segment
Its a real pain I ended up copying the metering segments into a text file replacing all the spaces with commas then bringing it into libre office
then each photo got its own line and i had to count to find which was the 39th column and then highlight that column.
still has to be an easier way than that. I think i might have figured out how the exposure gets set