Jump to content


Photo

It's a timed slide show, why don't we optimize

  • Please log in to reply
5 replies to this topic

#1 ccs_hello

ccs_hello

    Fly Me to the Moon

  • *****
  • Posts: 6613
  • Joined: 03 Jul 2004

Posted 10 October 2013 - 10:09 PM

Recent donnie3 (Don) question on video recorder kind of raising the capture and storage (recording) topic to the surface.

In long exposure video imaging, a lot of time is used in displaying redundant information (repeated video frames with the identical information). It is necessary in NTSC analog video to satisfy the transmission and display of video.

In our case, it's more like a timed playback (at a fixed frequency) of still slides, as if it's a slide show.

Capture and store in such case can be simpler to save storage space and can afford to use better compression method designed for still image to preserve image quality, as oppose to use compression algorithms designed for video (continuous changing.)
Of course, the timed capture interval should be reasonably close to the actual long exposure time (e.g., every 8.5 seconds), and does not need to be perfectly in sync.

Using the 8.5 second (256 frames, 255 of them are repeated/redundant) long exposure as the example, a 85 second session will just yield 10 or 11 captured images.

For displaying, it does not need to be a delayed event (wait until the entire session to complete) but just to display immediately, refreshed with a new (the next) image every 8.5 sec.

What do you think?

Clear Skies!

ccs_hello

#2 dragonslayer1

dragonslayer1

    Apollo

  • -----
  • Posts: 1030
  • Joined: 25 Feb 2012
  • Loc: SLC, UT

Posted 11 October 2013 - 06:07 AM

Well once again your talking above my pay grade, but sounds good :question: LOL, Kasey

#3 Puck Ja

Puck Ja

    Apollo

  • *****
  • Posts: 1136
  • Joined: 21 Nov 2012
  • Loc: OK, USA

Posted 11 October 2013 - 10:36 AM

I share the similar feeling with ccs_hello. While he was addressing the optimized way to store results - instead recording "exactly the same" redundant analogue data, why don't you just store the still digitized image.

Similar principle applies for the viewing: instead of staring at the "same and repeated" frame with poor singnal-to-noise ratio, why don't you stack them and process them on-the-fly to improve the image quality.

Why don't we optimize the presentation of already collected data for even better viewing?

#4 GlennLeDrew

GlennLeDrew

    Voyager 1

  • *****
  • Posts: 10984
  • Joined: 17 Jun 2008
  • Loc: Ottawa, Ontario, Canada

Posted 11 October 2013 - 03:57 PM

Indeed, why record/store video at 30 frames/sec if a unique image is updated at a much longer interval? If the integration time is, say, 8.5 seconds, an NTSC system sends out a redundant ~255 essentially identical frames which do nothing but eat up storage space.

#5 nytecam

nytecam

    Voyager 1

  • *****
  • Posts: 11532
  • Joined: 20 Aug 2005
  • Loc: London UK

Posted 12 October 2013 - 04:15 PM

Didn't expect cc-hello to seemingly suggest what I've been doing for over a decade eg saving individual CCD frames/images when the exposure of any duration is complete for display via PC/laptop for as long as needed - or am I missing something from video lore ? :-)

#6 ccs_hello

ccs_hello

    Fly Me to the Moon

  • *****
  • Posts: 6613
  • Joined: 03 Jul 2004

Posted 12 October 2013 - 07:03 PM

"Streaming" is the key. You don't want the complete job done then come back to see result. You want to the current result being shown immediately.

I did an experiment by using AMcap (using USB video dongle to capture). I install a free software "AutoHotKey", focus on AMCap window, set the still capture folder name. Then run the test script I just created (Test1.ahk) The script looks like this

#SingleInstance FORCE
#space::
Loop 10
{
Send ^s
; then upload this file to Google Drive (your own code here)
Sleep 8500 ; Wait 8.5 seconds.
}
return


Every time I press the "Windows Logo" and "Space bar" keys simultaneously, it will capture 10 still images, sequentially 8.5 seconds apart.

Individual captured file will one by one showing up in my Google Drive (or ImageShack site, etc.)

Other viewers probably can run a script to see if a new file arrives in that "shared file repository site". The new one will be fetched, replacing old ones, and displayed onto the viewer's own computer.

Clear Skies!

ccs_hello






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics