Changeset 663
- Timestamp:
- 05/15/11 07:43:11 (2 years ago)
- Location:
- trunk/CHDK/SCRIPTS/USER
- Files:
-
- 2 edited
-
br_h_new.lua (modified) (6 diffs)
-
liesmich.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHDK/SCRIPTS/USER/br_h_new.lua
r356 r663 1 1 --[[ 2 2 ******************************** 3 automatische Melichtungsreihe3 automatische Belichtungsreihe 4 4 (c)msl 5 5 Licence: GPL … … 33 33 34 34 function log(...) 35 io.write(...)36 io.write("\n")35 io.write(...) 36 io.write("\n") 37 37 end 38 38 … … 57 57 58 58 function fastshoot() 59 press("shoot_half")60 repeat61 sleep(1)62 until get_shooting() == true63 press("shoot_full")64 release("shoot_full")65 release("shoot_half")66 repeat67 sleep(1)68 until get_shooting() ~= true59 press("shoot_half") 60 repeat 61 sleep(10) 62 until get_shooting() == true 63 press("shoot_full") 64 release("shoot_full") 65 release("shoot_half") 66 repeat 67 sleep(10) 68 until get_shooting() ~= true 69 69 pic_num = pic_num + 1 70 70 end … … 106 106 if(dcimList) then 107 107 table.sort(dcimList) 108 -- while i<=#dcimList do109 -- if string.upper(string.sub(dcimList[i],4))~="CANON" then110 -- table.remove(dcimList,i)111 -- else i=i+1 end112 -- end113 108 end 114 109 return dcimList … … 116 111 117 112 function getImageList() 118 local imgTable = {}119 local dcimList = getImageDirs()120 local dirCount = table.getn(dcimList)121 local i = 0122 while ( dirCount ~= i) do123 i = i + 1124 local imgDirList = os.listdir("A/DCIM/"..dcimList[i], false)125 local imgCount = table.getn(imgDirList)126 table.sort(imgDirList)127 local a = 0128 while (imgCount ~= a) do129 a = a + 1130 table.insert(imgTable,"A/DCIM/"..dcimList[i].."/"..imgDirList[a])131 end132 end113 local imgTable = {} 114 local dcimList = getImageDirs() 115 local dirCount = table.getn(dcimList) 116 local i = 0 117 while ( dirCount ~= i) do 118 i = i + 1 119 local imgDirList = os.listdir("A/DCIM/"..dcimList[i], false) 120 local imgCount = table.getn(imgDirList) 121 table.sort(imgDirList) 122 local a = 0 123 while (imgCount ~= a) do 124 a = a + 1 125 table.insert(imgTable,"A/DCIM/"..dcimList[i].."/"..imgDirList[a]) 126 end 127 end 133 128 return imgTable 134 129 end 135 130 136 131 function filter(searchString) 137 local imageList = getImageList()138 local count = table.getn(imageList)139 local i = 0140 while i ~= count do141 i = i + 1142 if(string.find(imageList[i],searchString,17, true) == nil) then143 table.remove(imageList,i)144 i = i - 1145 count = count - 1146 end147 end132 local imageList = getImageList() 133 local count = table.getn(imageList) 134 local i = 0 135 while i ~= count do 136 i = i + 1 137 if(string.find(imageList[i],searchString,17, true) == nil) then 138 table.remove(imageList,i) 139 i = i - 1 140 count = count - 1 141 end 142 end 148 143 return imageList 149 144 end … … 196 191 shot_histo_enable(1) 197 192 198 delay(delay_sec) 193 if delay_sec > 0 then delay(delay_sec) end 199 194 200 195 log_name() -
trunk/CHDK/SCRIPTS/USER/liesmich.txt
r654 r663 1 1 - 7upLight.bas 2 2 3 Skript für Intervall-Anwendungen mit umfangreichen Einstellm öglichkeiten4 für Anzahl der Bilder, Zeitintervall, Bild-Kompression, Bildgr öße, LCD3 Skript für Intervall-Anwendungen mit umfangreichen Einstellmoeglichkeiten 4 für Anzahl der Bilder, Zeitintervall, Bild-Kompression, Bildgroesse, LCD 5 5 Ausschalten, Akku/Batterie-Stop, Autofokus sperren u.v.m. 6 6 … … 9 9 Skript erstellt automatisch Belichtungsreihen mit Hilfe einer Histogramm- 10 10 Auswertung. Man braucht nur die Schrittweite einzustellen. Die notwendige 11 Anzahl der bilder wird automatisch berechnet. Im Ordner LOGS wird eine11 Anzahl der Bilder wird automatisch berechnet. Im Ordner LOGS wird eine 12 12 Log-Datei mit Informationen zur Reihe erstellt. 13 13 … … 16 16 Skript zum Speichern und Wiederherstellen der Konfiguration. Es koennen bis 17 17 zu 10 unterschiedliche Konfigurationen abgespeichert und wieder geladen werden. 18 Das ist n ützlich, um persoenliche und fuer bestimmte Aufgaben eingerichtete18 Das ist nuetzlich, um persoenliche und fuer bestimmte Aufgaben eingerichtete 19 19 Einstellungen und OSD-Anzeigen zu sichern. 20 20 … … 23 23 Das Skript stellt für Kameras ohne Tv-Modus einen virtuellen Tv-Modus bereit. 24 24 Es erweitert aber auch diesen Modus für Kameras mit TV-Modus. Optional kann 25 eine Berechnung für den notwendigen ISO-Wert in Abh ängigkeit der Verschluss-25 eine Berechnung für den notwendigen ISO-Wert in Abhaengigkeit der Verschluss- 26 26 zeit ermittelt werden. 27 27
Note: See TracChangeset
for help on using the changeset viewer.