August 21st, 2006, 11:56 PM | #256 |
Major Player
Join Date: Apr 2006
Location: Magna, Utah
Posts: 215
|
noise
The biggest noise visible on the CMOS (compared to CCD) is FPN (fixed pattern noise) caused by differences in the pixels. Actually the camera FPGA code in the 333 (and even in older 313) has the code to subtract array from the image and multiply - reading that correction data from the same video memory. This processing can be done in parallel with the compression so no slowing down.
But I never got the time to write some code to calculate that arrays without individual measurements for each particular settings (and sensor temperature) like taking an image, closing the cap on the lens and getting a dark one to subtract. It is possible to do the compensation without that - just while using the camera. |
August 22nd, 2006, 12:46 AM | #257 | |
Regular Crew
Join Date: Aug 2006
Location: Hungary
Posts: 59
|
Quote:
If we use strictly interframe-difference compression then this noise won't decrease the encoding rates (because it's fpn). And if we use lossless, then we can reproduce these "black frames" without errors. Last edited by Zsolt Hegyi; August 22nd, 2006 at 03:09 AM. |
|
August 22nd, 2006, 10:18 AM | #258 | |||
Inner Circle
Join Date: May 2003
Location: Australia
Posts: 2,762
|
Quote:
But you have to remember that this is only for post processing MJPEG and Theora at the moment, not bayer, though I expect you can do bayer through one of the camera noise removers listed in that review link. Quote:
Quote:
I personally want to increase aperture through a condenser 35mm adaptor, but these chips have a limit form their microlens that restricts maximum aperture (another reason why the IBIS5a was so good it had no microlens and you could use very fast apertures of less than 1 for more stops of light, and great latitude extension). I would like to minimise lighting (an personal experiment). Thanks Wayne. |
|||
August 22nd, 2006, 11:59 AM | #259 | |||
Regular Crew
Join Date: Aug 2006
Location: Hungary
Posts: 59
|
Quote:
Quote:
Quote:
Switching topics: today I finished the development of the encoder. The source material for the tests were the following files: http://3lib.ukonline.co.uk/cricket/imran1.mpg http://www.elphel.com/3fhlo/samples/snakeriver.mov I converted both of them to grayscale mpeg-s before processing. The java/jmf framework provided the decoded buffers with a bit depth of only 5 so I upconverted it to 12 bits (shifting 7 bits to the left, zeros coming in on the right) and replaced the lower 3 bits with random noise. I write this because it's not the ideal input - we could have better or worse when trying it with a real 12 bit stream. With both of the above files I've got the targeted 3:1 ratio with lossless interframe compression. So my prognosis was good: the much lower frequency content of the time domain really helped the same encoder routine to provide better results than using it in intraframe mode. I'd like to add that in java, the encoder routine is only 10 lines (!) long so I should have no problems implementing it in verilog... And it will be fast because it works with a 1 pixel per 1 clock cycle way. And because of its small size I could even instantiate an encoder for every pixel in a 5x5 block. I have some more ideas for optimization but I don't want to implement them until I have a camera and the test results demand better compression performance than the current one. Now I quit posting to this forum for a while; you'll probably hear from me again when I have a working camera in my hands. Hope this happens very soon. Thanks, Zsolt Last edited by Zsolt Hegyi; August 22nd, 2006 at 01:06 PM. |
|||
August 22nd, 2006, 12:32 PM | #260 | |
Major Player
Join Date: Apr 2006
Location: Magna, Utah
Posts: 215
|
Quote:
CMOS have on-chip black level compensation (still not as good as "digital" - subtracting individual pixel black levels). The only analog that can be better then digital (and it mostly applies to CCD) is true binning (with reduction of resolution, of course). The S/N gain compared to averaging of the output pixel data (can be done on chip for CMOS, always off-chip for CCD) can be better up to square root of the number of the pixels binned (e.g. 2 for 2x2 binning) The reason is that binning by combining pixel charges does not introduce any noise, so each cluster of pixels binned get noise from the output amplifier only once, and if you average pixel values after the amplifier each pixel will have the output amplifier noise added, so averaging of non-correlated noise will give you square root. The above is true only for the noise of the output amplifier that can be a major factor with CCDs in some conditions (pixel thermal noise low - short exposure and/or cooling). With CMOS the most visible is FPN that can be nicely removed by digital subtraction of the "dark" image. |
|
August 22nd, 2006, 12:50 PM | #261 | |
Regular Crew
Join Date: Aug 2006
Location: Hungary
Posts: 59
|
Quote:
Anyway, are you talking about this method not being as good as the array substraction because the pixels used as the base of the black level are only surrounding the visible area but they're used for every pixel being read out? Zsolt |
|
August 22nd, 2006, 01:01 PM | #262 | |
Major Player
Join Date: Apr 2006
Location: Magna, Utah
Posts: 215
|
Quote:
|
|
August 23rd, 2006, 10:20 AM | #263 | ||
Inner Circle
Join Date: May 2003
Location: Australia
Posts: 2,762
|
Quote:
Quote:
Have you got any raw bayer files to test? There might be some RAW bayer footage on the Silicon imaging camera threads, or the Drake camera thread, or Obin Oslo's original camera thread. Compressed 4:2:0 files already have much of their information removed, and the most hard to compress data is in the last 2 bits. |
||
August 23rd, 2006, 11:46 AM | #264 | ||||
Regular Crew
Join Date: Aug 2006
Location: Hungary
Posts: 59
|
Quote:
Quote:
Quote:
Quote:
Last edited by Zsolt Hegyi; August 23rd, 2006 at 01:03 PM. |
||||
August 23rd, 2006, 01:10 PM | #265 | ||||
Inner Circle
Join Date: May 2003
Location: Australia
Posts: 2,762
|
Quote:
Quote:
Quote:
Quote:
Another interesting link I came across, if useful. http://www.data-compression.info/Algorithms/RC/ Thanks for your efforts Zolt, keep it up. I wonder where everybody else has gone with their cameras? Wayne. |
||||
August 25th, 2006, 04:47 PM | #266 |
Inner Circle
Join Date: May 2003
Location: Australia
Posts: 2,762
|
Over at the comp.compression thread, a commercial oriented guy from this company: http://www.algopix.com/ has turned up and is interested in developing noise removal for increasing lossless compression ratios.
He is aiming to do a simple two frame comparison, where he uses the noise removal to also identify inter frame movement, and then compresses lossless. Thanks Wayne. |
August 28th, 2006, 01:30 AM | #267 |
Inner Circle
Join Date: May 2003
Location: Australia
Posts: 2,762
|
I did a search for something and accidentally came across that thread I posted on comp.compression newsgroup for reference:
http://groups.google.com/group/comp....ee766672dc7727 It seems to be turning up in different places: http://archives.devshed.com/forums/c...r-1937388.html http://groups.google.co.jp/group/com...lnk=raot&hl=ja Thanks Wayne. |
September 22nd, 2006, 03:25 AM | #268 |
Regular Crew
Join Date: Jul 2005
Location: Milan, Italy
Posts: 169
|
new 5mp sensor by micron
look at this!
"Leveraging its heritage in high-speed, high-performance imaging, Micron will unveil a new 5-megapixel high-definition (HD) image sensor for mainstream digital cameras. The new sensor is capable of capturing video at 60 frames per second (fps) in 720p (progressive) format and 30 fps in 1080p format. Micron will begin sampling this sensor in the fall of 2006. Designed specifically for digital video camcorder applications, Micron will also introduce a new HD video sensor that captures 60 fps in 720p format. Designed to work with long-range zoom lenses, the sensor was built using Micron’s stunning 2.2-micron pixel technology. Additionally, the sensor has additional pixel area for image stabilization, which reduces the effect of shaky and blurred images typically caused by jittery hands or camera-shake. This sensor is expected to begin sampling in the first quarter of 2007." taken from: http://www.micron.com/about/news/pre...A76239EFA2B68E |
September 25th, 2006, 12:02 PM | #269 | |
Major Player
Join Date: May 2004
Location: Knoxville, TN (USA)
Posts: 358
|
Quote:
I've just recently discovered this thread, and I find it very intriguing. The Elphel 353 could be an excellent choice for a DIY cinema camera. |
|
September 26th, 2006, 10:36 AM | #270 |
Inner Circle
Join Date: May 2003
Location: Australia
Posts: 2,762
|
I just realised it wasn't Rob Loham posting to the thread. Long time no here, still got the same email?
So, still doing the Obsura, how is it going? Actually, Zolt, what is happening after a month? Matteo, I think that is the one Andrey aims to use. |
| ||||||
|
|