Best shot selector mode (Poor man's IS) - Feature Requests - CHDK Forum

Best shot selector mode (Poor man's IS)

  • 23 Replies
  • 19316 Views
Best shot selector mode (Poor man's IS)
« on: 27 / January / 2008, 17:38:46 »
Advertisements
Poor man's Image Stabilizer - best shot selector mode

What about shooting (fast continuous) a (predefined?) number of shots,
compare the JPEG file sizes, and then only keep the sharpest shot
(biggest file size will contain more details)?
The auto deletion should include the RAW files, so there only remains
the best/sharpest JPEG/RAW pair.

I would like to see this feature, is it possible?

I think this functionality is not possible as a script, because there are
no script file commands, right?

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: Best shot selector mode (Poor man's IS)
« Reply #1 on: 31 / January / 2008, 13:55:52 »
In Theory a really good idea, how I think, but what, if the best shot is the one with the lower depth of field?
You loose your best shot :'(
But marking them could be indeed useful. :)

*

Offline PS

  • ***
  • 157
  • A610 1.00f
Re: Best shot selector mode (Poor man's IS)
« Reply #2 on: 31 / January / 2008, 15:49:57 »

Re: Best shot selector mode (Poor man's IS)
« Reply #3 on: 01 / February / 2008, 15:52:22 »
I'm so glad that someone are requesting the same feature.  I think BBS is still useful nowaday. I really wish such feature could be added. I hope it will be a script so that I could trigger BBS with just one click.

here's some info about BBS:
http://digitalimaging.patyuen.com/shootout/cp5kvg2/bss.htm
« Last Edit: 01 / February / 2008, 16:17:51 by yg2007 »

*

Offline carlos

  • **
  • 63
  • A640
Re: Best shot selector mode (Poor man's IS)
« Reply #4 on: 01 / February / 2008, 16:30:39 »
I think BBS is still useful nowaday. I really wish such feature could be added.

Currently cataloging hundreds of small to tiny items using an old Nikon 775 (2.14 mp) because it has the BSS feature (shooting hand-held macros). Of course, one may shoot bursts with another camera; selecting the biggest file oneself ... but better when this is automated!

A great addition to CHDK, imo, if possible.

Thanks for the suggestion Lilien!

*

Offline carlos

  • **
  • 63
  • A640
Re: Best shot selector mode (Poor man's IS)
« Reply #5 on: 01 / February / 2008, 19:00:32 »

*

Offline brainwash

  • **
  • 95
  • Nikon D40x & A460
Re: Best shot selector mode (Poor man's IS)
« Reply #6 on: 25 / June / 2008, 06:41:20 »
Ok, I have compiled a list of articles that deal with digital still image stabilization and focus detection (which is what I think the BSS is doing):

Image motion deblurring (short) - http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/AV0506/s0198594.pdf

Method for reducing motion blur in a digital image (patent, somewhat abstract) - Method for reducing motion blur in a ... - Google Patents

see pages 102 and 103 of this document: http://www.safecomprogram.gov/NR/rdonlyres/B20DC842-B760-4DB0-B3B6-D3F1B0A5F26B/0/PS_SoR2_v10_9112006.pdf
for measuring sharpness in an image

sharpness determination using gaussian blur (very slow, for reference only) - http://www.ph.tn.tudelft.nl/~lucas/publications/2003/CAIP2003_JDMGRALVPV.pdf

google's (no)answer - Google Answers: Autofocus program or algorithm - the suggestion to use image size is very useful and could mean BSS could be implemented really fast with acceptable results; it could really mean shoot in burst mode and record which files are written, then delete all but the largest written since the shutter has been pressed

last, and probably least, a method for improving auto-focus speed and accuracy, would be nice if implemented on these cheap cameras, but I wouldn't hold my breath - Welcome to IEEE Xplore 2.0: Efficient auto-focus algorithm utilizing discrete difference equation prediction model for digital still cameras (don't ask me for the paper, I do not have access to the site since I graduated)


*

Offline carlos

  • **
  • 63
  • A640
Re: Best shot selector mode (Poor man's IS)
« Reply #7 on: 25 / June / 2008, 13:00:57 »

....... BSS could be implemented really fast with acceptable results; it could really mean shoot in burst mode and record which files are written, then delete all but the largest written since the shutter has been pressed


brainwash,

That's just, as I understand it, what Nikon BSS does. I take 4 or 5 shot bursts x 3 in BSS, then select one of the three 'bests' by file size (saves comparing images by eye).

Thanks for bumping this topic.

carlos (the needy)

*

Offline LjL

  • ****
  • 266
  • A720IS
Re: Best shot selector mode (Poor man's IS)
« Reply #8 on: 10 / July / 2008, 16:21:40 »
Feature implemented.

I'm attaching a patch to trunk / AllBest 441, which adds a core/bss.c and modifies core/main.c (and other files for configuration / locales).

I'm also attaching a binary build for my camera, the A720IS.

The system can be activated in the "Extra photo operations" menu, and will engage when the camera is in Continuous drive mode.

The JPG file that takes the most space is kept, others are removed.

KNOWN BUGS:

  • deleted files will still be indexed in Play mode until the camera is turned off and on again, and show up as "Unidentified" (it's a feature so you can see which one was kept, not a bug!)
  • the system will deactivate as soon as a shot is taken in anything but Continuous mode FIXED
  • I can't get the darn menu item text to actually show up, you'll see only a blank menu line with a togglebox FIXED
  • camera sometimes crashes after the first 3 shots or so FIXED
  • BSS bails out and deactivates if you release shoot-full but keep shoot-half pressed while taking burst shots

Clearly, this patch DELETES FILES, so while testing is appreciated, please be careful, use at your own risk, and preferably on an SD card with no important data.
« Last Edit: 13 / July / 2008, 10:33:46 by LjL »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Best shot selector mode (Poor man's IS)
« Reply #9 on: 10 / July / 2008, 18:56:17 »
nic work :)
i think you built a lot of diffs by now, they seem to be scattered around this place. don't you wanna create a thread gathering all these changes and explaining them a little bit in detail?

 

Related Topics


SimplePortal © 2008-2014, SimplePortal