MSL Images & Cameras, technical discussions of images, image processing and cameras |
MSL Images & Cameras, technical discussions of images, image processing and cameras |
Aug 28 2012, 12:12 AM
Post
#31
|
||
Member Group: Members Posts: 808 Joined: 10-October 06 From: Maynard Mass USA Member No.: 1241 |
Back from a little vacation, and catching up on all the threads.
After several attempts to circumvent the JPEG induced color/pattern bleeds in the bayers, I decided to just make a good B&W image. It has several hacks: rank order adaptive noise reduction, reduced resolution to 50%, and multiple stacks. (and its not that good) ... maybe MSSS will take pity on the collective suffering and hacks found here on these threads and authorize a posting of a few PNG raw bayers (just to see if all of the UMSF debayer programs are working properly of course!) -------------------- CLA CLL
|
|
|
||
Aug 28 2012, 12:49 AM
Post
#32
|
|
Senior Member Group: Members Posts: 2542 Joined: 13-September 05 Member No.: 497 |
... maybe MSSS will take pity on the collective suffering and hacks found here on these threads and authorize a posting of a few PNG raw bayers... What would be more in keeping with the spirit of the data release policy (IMHO) would be for us to demosaic the data and then JPEG that, but I can't do either one without permission. If raw data acquisition becomes common I'll ask, but I don't think it's worth it for a relative handful of images. -------------------- Disclaimer: This post is based on public information only. Any opinions are my own.
|
|
|
Aug 28 2012, 04:06 AM
Post
#33
|
|
Senior Member Group: Admin Posts: 4763 Joined: 15-March 05 From: Glendale, AZ Member No.: 197 |
Sounds like a great task for a trusted college intern.
-------------------- If Occam had heard my theory, things would be very different now.
|
|
|
Aug 28 2012, 04:44 AM
Post
#34
|
|
Senior Member Group: Members Posts: 2542 Joined: 13-September 05 Member No.: 497 |
Sounds like a great task for a trusted college intern. I have no idea what your point is. It would take me about a minute to process all these images and post them. It's the permission to do so that's lacking. -------------------- Disclaimer: This post is based on public information only. Any opinions are my own.
|
|
|
Aug 28 2012, 07:30 AM
Post
#35
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
the jpg issue is mostly solved
http://imgbox.com/g/9pzCUh6YaZ ------------ ------------- not "white balanced" the code used CODE gmic 0017MR0050002000C0_DXXX.jpg -bayer2rgb 3,3,3 -pde_flow 5,20 -sharpen 2 -o 0017MR0050002000C0.png a pde to remove most of the artifacts |
|
|
Aug 28 2012, 07:57 AM
Post
#36
|
|
Senior Member Group: Members Posts: 3648 Joined: 1-October 05 From: Croatia Member No.: 523 |
It's the permission to do so that's lacking. I can understand that posting raws as PNGs would be iffy because we'd be getting the same quality product as you, but why would de-Bayering on the ground and JPEG-ing present an issue? -------------------- |
|
|
Aug 28 2012, 07:59 AM
Post
#37
|
|
Senior Member Group: Members Posts: 3648 Joined: 1-October 05 From: Croatia Member No.: 523 |
the jpg issue is mostly solved John, that looks very smooth, but there's an obvious loss of sharpness in the resulting images. -------------------- |
|
|
Aug 28 2012, 09:40 AM
Post
#38
|
|
Newbie Group: Members Posts: 2 Joined: 13-September 11 Member No.: 6155 |
|
|
|
Aug 28 2012, 10:08 AM
Post
#39
|
|
Senior Member Group: Members Posts: 1465 Joined: 9-February 04 From: Columbus OH USA Member No.: 13 |
I wonder what the effective bits per pixel of the MASTCAM raw images is. The cameras use the KODAK KAI-2020CM sensor. Is it sampled with a 12-bit ADC like MARDI and NAVCAM? One reference for NAVCAM gives an SNR of >200 for certain conditions. So that would mean effectively 7-8 bits per pixel for that camera anyway?
It was interesting that yesterday Mike Malin referred to stacking images. -------------------- |
|
|
Aug 28 2012, 01:48 PM
Post
#40
|
|
Senior Member Group: Members Posts: 2542 Joined: 13-September 05 Member No.: 497 |
I wonder what the effective bits per pixel of the MASTCAM raw images is. The MAHLI paper I've referred to several times before is an excellent source of this kind of information. From section 7.5.1: "Acquired as 12-bit images, MAHLI data are converted onboard the instrument, without loss of information, to 8-bit images using a square-root companding look-up table." -------------------- Disclaimer: This post is based on public information only. Any opinions are my own.
|
|
|
Aug 28 2012, 02:03 PM
Post
#41
|
|
Senior Member Group: Members Posts: 2542 Joined: 13-September 05 Member No.: 497 |
why would de-Bayering on the ground and JPEG-ing present an issue? I am not authorized to put any data out, in any form. You might want to take a look at http://blogs.agu.org/martianchronicles/201...8/blogging-msl/ -- Ryan discusses in general terms the rules that we operate under. I am constantly evaluating each of my posts to make sure that it is only derived from public information. If you don't like it, complain to my boss. -------------------- Disclaimer: This post is based on public information only. Any opinions are my own.
|
|
|
Aug 28 2012, 02:39 PM
Post
#42
|
|
Member Group: Members Posts: 408 Joined: 3-August 05 Member No.: 453 |
"Acquired as 12-bit images, MAHLI data are converted onboard the instrument, without loss of information, to 8-bit images using a square-root companding look-up table." I read that a while back and was puzzled by how one could do any such conversion without a loss of information unless the original data already fit in 8 bits? Any non-trivial processing operation results in a loss of information somewhere (usually with the purpose of increasing apparent information somewhere else). I understand companding and all that, but that is not a two-way operation without loss of information. The resulting 8 bit data cannot be converted back into the original 12 bit data, surely, as multiple values in the 12 bit sample get mapped to the same 8 bit value? Just trying to understand what exactly was meant in the MAHLI document. Airbag |
|
|
Aug 28 2012, 03:05 PM
Post
#43
|
|
Member Group: Members Posts: 933 Joined: 4-September 06 From: Boston Member No.: 1102 |
mcaplinger We all really appreciate the fantastic images released and I think the misundrstanding was that you are bound by image release policy--not being the one doing the releasing. After the appropriate time, the eager ones here will have access to raw data.
Airbag I'm not an expert, but I think it means without loss of spatial resolution. Clearly there is minor loss of brightness precisionin/pixl going from 12 to 8 bit (and back again). However, visually, 8 bit square-root gives full dynamic range and preserves the low-light/dark range preferentially to the saturated white end. -------------------- |
|
|
Aug 28 2012, 03:09 PM
Post
#44
|
|
Senior Member Group: Members Posts: 3648 Joined: 1-October 05 From: Croatia Member No.: 523 |
Airbag, also look up photon shot noise to see why even 12 to 8 bit conversion is "sorta" lossless.
-------------------- |
|
|
Aug 28 2012, 04:17 PM
Post
#45
|
|
Member Group: Members Posts: 408 Joined: 3-August 05 Member No.: 453 |
Ugordan,
But photon shot noise is less of an issue with larger number of photons (i.e. higher CCD signal levels) and that is exactly where a square root compander "does its thing" the most, so I don't see how photon shot noise would be relevant to my original question? I could understand it if the CCD read noise was a dominant factor, and thus the 12 bits of data are really only "effectively" worth around 8 bits, but that would imply a huge noise contribution! Airbag |
|
|
Lo-Fi Version | Time is now: 22nd September 2024 - 11:58 AM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |