Black corners in RAW (CRW and DNG formats) - page 2 - RAW Shooting and Processing - CHDK Forum

Black corners in RAW (CRW and DNG formats)

  • 16 Replies
  • 11607 Views
Re: Black corners in RAW (CRW and DNG formats)
« Reply #10 on: 28 / December / 2014, 03:48:17 »
Advertisements
The black corners are normal on the canon powershots.

In order to reduce production cost, they try to use the smallest lens possible, and find rely on software correction and in camera cropping.

For the jpegs, a 12 megapixel image may actually be like 11.8 megapixels or less, and then the camera corrects for as much distortion as it can, then crops, then interpolates back to 12 megapixels.

For example here is the powershot sx 230HS, the actual image captures by the sensor is 4072x3036
and looks like this

http://i.imgur.com/nEOiJW6.jpg

when you apply the lens correction, you end up correcting as much distortion as possible, then cropping out the uncorrectable areas.

http://i.imgur.com/otNJZtF.jpg

Re: Black corners in RAW (CRW and DNG formats)
« Reply #11 on: 28 / December / 2014, 06:49:24 »
The black corners are normal on the canon powershots.

In order to reduce production cost, they try to use the smallest lens possible, and find rely on software correction and in camera cropping...

I apologize if generated confusion with my "teory" about asymmetrical black corners in raw and lens barrel misalignement.
My thoughts were based on empiric tests on my ixus where i saw that gently pushing the lens barrel reduces vignetting on the opposite corner to pressure (and grows it on the same side).
BTW i never told to kick the lens and underlined the word "gently" in my previous reply.
Below 2 raw samples from my ixus 125 @ 24 mm with and without a small pressure on top right corner.

*

Offline srsa_4c

  • ******
  • 4451
Re: Black corners in RAW (CRW and DNG formats)
« Reply #12 on: 28 / December / 2014, 07:02:02 »
For the jpegs, a 12 megapixel image may actually be like 11.8 megapixels or less, and then the camera corrects for as much distortion as it can, then crops, then interpolates back to 12 megapixels.
That's true towards the wide end of the zoom range. The correction and black corners gradually go away when zooming in, and the whole sensor area is used to create the JPEG. BTW, this is not Canon specific, most (if not all) other manufacturers do the same. Pre-DIGIC4 Canon cameras did not use this trick.

Re: Black corners in RAW (CRW and DNG formats)
« Reply #13 on: 28 / December / 2014, 07:36:05 »
Thanks for your quick anwswers guys!

Here is a sample of a RAW picture with the FULL crop size.

https://www.dropbox.com/s/hpxsrlhrxh3ogju/IMG_3167.DNG?dl=0

Best,

C.


*

Offline ursamajor

  • **
  • 64
  • SX150IS, SX510HS
    • Per aspera ad astra...
Re: Black corners in RAW (CRW and DNG formats)
« Reply #14 on: 28 / December / 2014, 07:53:16 »
I apologize if generated confusion with my "teory" about asymmetrical black corners in raw and lens barrel misalignement.
The lens and the sensor are solidary. If there is a misalignement, it is from factory. The pressure that you apply only create tensions that moves a little the lens assembly, but didn't correct so-called misalignement. And there is the risk to really misalign lens-sensor assembly and get out-of-focus zones in the photos.
« Last Edit: 28 / December / 2014, 07:57:22 by ursamajor »
SX510HS, SX150IS (retired) :D

Re: Black corners in RAW (CRW and DNG formats)
« Reply #15 on: 28 / December / 2014, 14:56:01 »
Here is a good example of the corners of an image when the lens is too small for the sensor.

Lens designed for a crop sensor, being placed on a full frame camera. Even at the widest end of the lens, on an actual crop sensor camera, the actual imaging area will be nowhere near those corners.




Anyway, for your camera, you will have to take a picture of a grid with the camera as perfectly aligned as possible (tripod recommended). After that, head over to adobe camera raw, then start doing some manual lens correction to get all of the lines as straight as possible while retaining as much image data as possible. You can then save that as a preset that you can simply apply when you open a raw image, before doing your other edits.
« Last Edit: 28 / December / 2014, 15:13:53 by Razor512 »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Black corners in RAW (CRW and DNG formats)
« Reply #16 on: 28 / December / 2014, 17:25:42 »
Thanks for your quick anwswers guys!

Here is a sample of a RAW picture with the FULL crop size.

https://www.dropbox.com/s/hpxsrlhrxh3ogju/IMG_3167.DNG?dl=0

Best,

C.

Thanks. Based on this image the DNG active area in CHDK is fine.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics