Note on another older camera, clicking display several times (while not in CHDK) would turn of the display. Not so on my S95. So I'm guess a press "display" would not work either.Any ideas? Thanks.
Cameras without optical viewfinder can't turn off the display. But you can control the LCD backlight. Use set_backlight. Important, read also the notes: http://chdk.wikia.com/wiki/Script_commands#set_backlight.28.29msl
@title Interval backlight off test@param s Backlight off after shot (10th Seconds)@default s 4@param e Interval (Seconds)@default e 5n=0 t=(e*10)*100:interval n=n+1 print "Shot", n shoot sleep s*100 set_backlight 0 sleep t-(s*100) goto "interval"
having now read through the code, it looks like this works if capt_seq_hook_raw_here is inserted in capt_seq.c prior to the camera creating the jpeg. If it gets inserted later in the sequence, RAW & DNG files will still get created but any bad pixel changes will get missed. So to repond to the original question, it might be a question of how capt_seq.c was implemented on the S95.
I've been trying to enable badpixel removal on jpegs for the S95 and it seems not to be supported by the current S95 CHDK port.On this thread http://chdk.setepontos.com/index.php?topic=7239.0 I mentioned what I tried and the suggestion from waterwingz isQuotehaving now read through the code, it looks like this works if capt_seq_hook_raw_here is inserted in capt_seq.c prior to the camera creating the jpeg. If it gets inserted later in the sequence, RAW & DNG files will still get created but any bad pixel changes will get missed. So to repond to the original question, it might be a question of how capt_seq.c was implemented on the S95.Is anyone here able to check this easily, and my obvious followup question would be, would it be easy to change to support badpixel processing of jpegs?
I created a dummy 4x4 bad pixel file and modified the bad pixel code to change the 'bad' pixels to a bright value rather than average them out.The co-ordinates of the bad pixels in the badpixel.txt file are relative to the RAW image top left corner.The JPEG is cropped from inside the RAW frame so you need to make sure the co-ordinates are correct.
Thanks for your help on this.@waterwingz, I'm using CHDK 0.9.9-1470 now on my S95 1.00e.I just tried Phil's suggestion of adding 72 to the X value and 24 to the Y value and it didn't work for me, but I probably need to try more carefully when I have a bit more time. Sounds like it should work so I guess I'm doing something wrong at the moment. Phil, it sounds like you've done this with the G12. How did you generate the badpixel.txt file? After generating mine, I plotted all the coordinates in the badpixel file as a scatter plot and overlaid them on an image. Even before adding the 72,24 offset, some coordinates lie outside the x range of the image (a png I generated from a .cr2 with rawtherapee) so I assume this means my badpixel.txt file is wrong. Is the format of the badpixel.bin file described somewhere? - if so, I can write my own program to generate the badpixel.txt file directly from it.
Quote from: philmoz on 11 / December / 2011, 04:26:04I created a dummy 4x4 bad pixel file and modified the bad pixel code to change the 'bad' pixels to a bright value rather than average them out.The co-ordinates of the bad pixels in the badpixel.txt file are relative to the RAW image top left corner.The JPEG is cropped from inside the RAW frame so you need to make sure the co-ordinates are correct. @philmoz : can you post the file here as an attachment ? Sound like it would make a good test file for anyone doing a port as well as pickler in his efforts ? Maybe even put it on the distro as badpixel_test.txt or something ?
Started by fvdk DryOS Development
Started by jonny360 CHDK Releases
Started by jnmaessen Feature Requests
Started by It Is What It Is Feature Requests
Started by kepler CHDK Releases