Shot Histogram Request - page 44 - CHDK Releases - CHDK Forum
supplierdeeply

Shot Histogram Request

  • 467 Replies
  • 143101 Views
*

Offline lapser

  • *****
  • 1093
Re: Shot Histogram Request
« Reply #430 on: 10 / October / 2013, 22:45:18 »
Advertisements
I have a similar location a short walk away (in Wales) though overlooking a town rather than a city and with hills in the background.

I will ask the farmer for permission to leave my equipment setup for a few hours.

Wonder if taking the exposure reading from a grey card at a corner of the view would be better ?
I thought about grey cards when I was writing the shot_meter functions. But I ended up adding up to 4 different meters, each with its own metering area. I thought that was overkill when I did it, but it's turned out to be quite useful.

I'd love to see a time lapse done with my script in a new location. I've made a bit of progress since posting that patch. If you'd like to try out my script, it would be easiest just to post a custom build for your camera/firmware, and the latest script for you to try out.

The video in my last post was done before I added the script function to adjust the metering areas. So the lights of the city are badly overexposed at the end, as the script tries to keep the sky the same brightness based on where the meter was. Once I could adjust the location and size of the meters, I could set one of them on one of the streets in the city, and another on the sky. After it gets dark, the script switches to the street meter. I showed the metering box at the end of this video:

http://www.youtube.com/watch?v=pozFliELR4w#ws
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline lapser

  • *****
  • 1093
Re: Shot Histogram Request
« Reply #431 on: 10 / October / 2013, 23:22:38 »
I caught the ISS last night from the top of Spencer's Butte with the SX50, as well as a pretty sunset with the G1X.

One of the biggest headaches I've had with my script is writing the log. I have a timer for the print statement that writes the log, and most of the time it takes 10 msec or less. However, sometimes it takes much longer, especially at the start of the time lapse. In this time lapse, the print statement took over 3 seconds one time! I'm pretty sure this happens because the camera is saving pictures as fast as it can in continuous mode. Sometimes, the log file has to wait its turn.

I was thinking about adding code to save the log to memory and then writing it out all at once when the script ends. However, it looks like the script console is already saved to memory, and can be viewed with "misc/console/display last console". It shouldn't be too hard to add a new script function:

write_console(filename)

By the way, I triggered an out of memory error by writing too much data to the console (with another script). I'm not sure it's worth fixing at this point. It took a LOT of data.

Here's the time lapse from last night with the sunset and the ISS:

http://www.youtube.com/watch?v=GQEilawZeOo#
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: Shot Histogram Request
« Reply #432 on: 11 / October / 2013, 05:20:34 »
If you'd like to try out my script, it would be easiest just to post a custom build for your camera/firmware, and the latest script for you to try out.

Thanks.

SX20is 100f.


David

*

Offline lapser

  • *****
  • 1093
Re: Shot Histogram Request
« Reply #433 on: 11 / October / 2013, 05:37:44 »
SX20is 100f.
Build and script are attached. It's a work in progress, but it works. Let me know how you do, and thanks for trying it.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos


Re: Shot Histogram Request
« Reply #434 on: 11 / October / 2013, 10:34:10 »
Well, it seems a simple enough request but the farmer is so busy gathering grass for silage that I will have to return Monday to discuss it.

There is also a consideration of which fields the cows are in, it can change even during a single day.

Anyway, the view is great.


David

*

Offline lapser

  • *****
  • 1093
Re: Shot Histogram Request
« Reply #435 on: 11 / October / 2013, 13:42:23 »
There is also a consideration of which fields the cows are in, it can change even during a single day.
Ha! I'll have to write a cow test into the script. :D

I'm trying to see if I can distribute custom builds with Google drive. Uploading all the files is just dragging and dropping them to a "Google Drive" sub folder. Sharing them is easy to set up. You get a link that anyone can use to see the folders and files you specify. So far so good. But when someone clicks on a file to download, it's pretty confusing. I don't know how Google could get everything else right, and mess up a simple thing like downloading the file.

Anyway, see if you can download your custom build, and the Tlapser.lua file from the link below. It works if you find the right button to click, but it's hard to tell that it worked. Still, it might be a good way to distribute custom builds. [EDIT] Download works better with Firefox than Google Chrome.

https://drive.google.com/folderview?id=0B3woLhMB_tdqWmozT3hheXBzSms&usp=sharing#list
« Last Edit: 11 / October / 2013, 14:27:31 by lapser »
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: Shot Histogram Request
« Reply #436 on: 11 / October / 2013, 16:08:20 »
I see no way to download it.

I assume you have to sign into a Google account.

I have absolutely no trust in Google,Facebook,Skype, Microsoft or any American file-hosting companies.

Your Information and  surfing habits will be added to the NSA haystack and shared with GCHQ and the so-called state of Israel.

It is not ideal but how about DropBox or similar ?


*

Offline ahull

  • *****
  • 634
Re: Shot Histogram Request
« Reply #437 on: 11 / October / 2013, 16:13:47 »
I see no way to download it.

I assume you have to sign into a Google account.

I have absolutely no trust in Google,Facebook,Skype, Microsoft or any American file-hosting companies.

Your Information and  surfing habits will be added to the NSA haystack and shared with GCHQ and the so-called state of Israel.

It is not ideal but how about DropBox or similar ?

Ahh don't worry about it, if they rely on Google for their information,  the NSA think I'm a 34 year old penguin from Idaho.


Re: Shot Histogram Request
« Reply #438 on: 11 / October / 2013, 16:42:14 »
 :)

The massive data centre in Utah is so vast it keeps blowing the electrical power circuits.

Talk about finding a needle in the haystack ... only after the 'event' probably.

(I know you are a 34 year old penguin from Scotland).

*

Offline lapser

  • *****
  • 1093
Re: Shot Histogram Request
« Reply #439 on: 11 / October / 2013, 17:58:08 »
I see no way to download it.

I assume you have to sign into a Google account.
No, you don't need to sign in. Find your camera firmware and click on it. The download button is a tiny down arrow in the extreme lower right corner. Pretty stupid, eh? Will you try again? Also, see if you can download Tlapser.lua too. Thanks.

You only need a Google account to upload. Uploading is great. I just finished uploading all the cameras.

And don't worry. NSA only breaks into your house and takes you away to an undisclosed location if you type something stupid, like "Osama bin Laden" ....... uh ... oops?
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal