Handheld Nightscene + Custom ISO - Script Writing - CHDK Forum

Handheld Nightscene + Custom ISO

  • 1 Replies
  • 1561 Views
Handheld Nightscene + Custom ISO
« on: 31 / August / 2014, 11:12:53 »
Advertisements
The "Handheld Nightscene" mode is a nice feature (poorly documented) on my camera that reduces camera shake and noise
by combining (3 ?) consecutive shots.
But it doesn't allow to set ISO values which are often automatically setted at 1600/3200 in dim lights.

So i wrote this few lines lua script to "hack" this nice mode for lower ISO values (JPG Superfine included) using the propertycase method

Code: [Select]
--[[
@title Handheld Cust.ISO

Author fabri22

@param    i ISO Max
  @default i 0
  @values  i 400 500 640 800 1000 1250 1600
]]

capmode=require("capmode")
props=require("propcase")

--  ========================== Main Program =================================

sv_table    = { 400, 500, 640, 800, 1000, 1250, 1600 }
j = sv_table[i+1]


set_draw_title_line(0)                             -- title off
set_prop(props.FLASH_MODE, 2)                      -- flash off
capmode.set("SCN_NIGHT_SCENE")                     -- Handheld Nightscene
sleep(100)
set_prop(57, 0)                                    -- JPG Superfine
sleep(100)
set_prop(150, j)                                   -- set Max ISO
sleep(100)
exit_alt()                                         -- done - ready for shooting

It seems to work fine on my ixus 125 (Digic V)
...even if when setting @param  ISO Max to 400 i get 500 in dim lights  :blink:
« Last Edit: 31 / August / 2014, 11:14:49 by fabri22 »

Re: Handheld Nightscene + Custom ISO
« Reply #1 on: 31 / August / 2014, 11:39:20 »
Very nice.  I'll add this to the wiki page for scripts.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal