Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Digital Photography > purple fringe - due solely to Bayer filter?

Reply
Thread Tools

purple fringe - due solely to Bayer filter?

 
 
digiboy
Guest
Posts: n/a
 
      05-31-2004
OK, here's my theory (no doubt 10,000 flames inbound ).

We all know that the Bayer filter is short of data in the red and blue
channels actually they have only half the data of the green channel.

So imagine an image where an area of 100% white is right next to an
area that is substantially less.

The de-mosaic / interpolation process doesn't know where the dividing
line is and so interpolates ie invents an intermediate value for each
channel. Because the red / blue channels have 1/2 the data this is
more obvious in red / blue ie you get a purple fringe.

I have looked at loads of test images of on dpreview, stevesdigicams
etc and all Bayer cams have the fringe.

Please note that this is not a Bayer / Foveon post, just my thoughts
on this one problem.

Cheers!

HB
 
Reply With Quote
 
 
 
 
Searching_ut
Guest
Posts: n/a
 
      05-31-2004
Wow, I wish I had known this 30 years ago when I was blaming a cheap lens on
my film camera for the problem. How does your theory fit in with fringing on
Sigmas and film? As I recall, some have speculated that maybe the Sigma
cameras suffer the problem worse than some of the bayer cameras because they
capture the image more precisely.

Well, you asked for thoughts, I personally think this theory needs a little
work

For what it's worth

Jeff



 
Reply With Quote
 
 
 
 
Paul Howland
Guest
Posts: n/a
 
      05-31-2004
digiboy wrote:

> OK, here's my theory (no doubt 10,000 flames inbound ).
>
> We all know that the Bayer filter is short of data in the red and blue
> channels actually they have only half the data of the green channel.
>
> So imagine an image where an area of 100% white is right next to an
> area that is substantially less.
>
> The de-mosaic / interpolation process doesn't know where the dividing
> line is and so interpolates ie invents an intermediate value for each
> channel. Because the red / blue channels have 1/2 the data this is
> more obvious in red / blue ie you get a purple fringe.
>
> I have looked at loads of test images of on dpreview, stevesdigicams
> etc and all Bayer cams have the fringe.
>
> Please note that this is not a Bayer / Foveon post, just my thoughts
> on this one problem.
>
> Cheers!
>
> HB


Nothing to do with that. Chromatic aberration (aka. purple fringing) is
due to the lens focusing red and blue light in slightly differently
places. This is what so-called achromatic lenses in more expensive
lenses are designed to solve. CA can also arise due to the microlenses
in front of the sensor - both Bayer sensors and the SD10's Foveon sensor
use these. Foveon and Bayer sensors are equally prone to this effect.
Indeed, problems with chromatic aberration is a consistent (minor)
criticism of the Sigma SD10 in some reviews. The SD9 does not suffer so
much from this - other than due to the camera's lens - as it has no
micro lenses over the sensor. But as a consequence, its low light
performance is abysmal and it can go no faster than ISO400.
 
Reply With Quote
 
Alan F Cross
Guest
Posts: n/a
 
      05-31-2004
In message <yQBuc.17830$. net>,
Searching_ut <Searching_ut-nospam-@sprynet.com> writes
>Wow, I wish I had known this 30 years ago when I was blaming a cheap lens on
>my film camera for the problem. How does your theory fit in with fringing on
>Sigmas and film? As I recall, some have speculated that maybe the Sigma
>cameras suffer the problem worse than some of the bayer cameras because they
>capture the image more precisely.
>
>Well, you asked for thoughts, I personally think this theory needs a little
>work
>
>For what it's worth
>
>Jeff
>
>
>


I think you can very crudely determine whether your theory is correct.
Shoot an image of a checkerboard. As the sensor filter is the same all
the way across, you'd expect the same effect (on the same side of the
light/dark transitions) at both ends, if it were the source of the
problem. However, if the fringing is to the left on one side, and to the
right on the other, you can reasonably assume that the problem is
optical. It's either the lens itself, or the angle of incidence on the
sensor itself.
--
Alan F Cross
 
Reply With Quote
 
David Kilpatrick
Guest
Posts: n/a
 
      05-31-2004


digiboy wrote:

> OK, here's my theory (no doubt 10,000 flames inbound ).
>
> We all know that the Bayer filter is short of data in the red and blue
> channels actually they have only half the data of the green channel.
>
> So imagine an image where an area of 100% white is right next to an
> area that is substantially less.
>
> The de-mosaic / interpolation process doesn't know where the dividing
> line is and so interpolates ie invents an intermediate value for each
> channel. Because the red / blue channels have 1/2 the data this is
> more obvious in red / blue ie you get a purple fringe.
>
> I have looked at loads of test images of on dpreview, stevesdigicams
> etc and all Bayer cams have the fringe.
>
> Please note that this is not a Bayer / Foveon post, just my thoughts
> on this one problem.
>



The effect you are talking about - highlight-created purple fringes -
seems to be Bayer specific and should not be confused with magenta and
green, or yellow and blue, chromatic aberration fringes. The Sigma picks
these up as badly as any camera, and they can be correct by the same
chromatic aberration controls in things like Photoshop's CS Raw import
plug in. The Sigma does not have the 'purple fringe' phenomenon at all,
but then nor do most larger sensor DSLRs. It's mainly found in small
sensors and especially in 2/3rds 8 megapixel sensors.

Makers are still trying to eliminate it but the safest way is to use a
small aperture. It seems to have something to do with lens aberrations
combining with the way microlenses work on a Bayer CCD. At the least it
may just be a non-chromatic aberration - coma - making itself seen as it
used to on old photos.

David

 
Reply With Quote
 
Roland Karlsson
Guest
Posts: n/a
 
      05-31-2004
(digiboy) wrote in news: om:

Background:
The normal purple fringing problem is radial symmetric and
is therefore either due to lens color aberration or due to the
incident angle the light hits the sensor. The microlenses are
suspected to be one cause in the latter case.

> The de-mosaic / interpolation process doesn't know where the dividing
> line is and so interpolates ie invents an intermediate value for each
> channel. Because the red / blue channels have 1/2 the data this is
> more obvious in red / blue ie you get a purple fringe.


If this is true, then the fringe shall be no more than 1 pixel wide.
It shall also be striped in blue/red along the edge. Now - all good
interpolation algorithms I have seen smooths the chroma information.
So - the edges should (in a perfect world) be the same color as the
dark area in your example.

> I have looked at loads of test images of on dpreview, stevesdigicams
> etc and all Bayer cams have the fringe.


Can you please point at some typical examples?


/Roland
 
Reply With Quote
 
~ Darrell Larose ~
Guest
Posts: n/a
 
      05-31-2004
Gee another Geroge Preddy alias.

"digiboy" <> wrote in message
news: om...
> OK, here's my theory (no doubt 10,000 flames inbound ).
>
> We all know that the Bayer filter is short of data in the red and blue
> channels actually they have only half the data of the green channel.
>
> So imagine an image where an area of 100% white is right next to an
> area that is substantially less.
>
> The de-mosaic / interpolation process doesn't know where the dividing
> line is and so interpolates ie invents an intermediate value for each
> channel. Because the red / blue channels have 1/2 the data this is
> more obvious in red / blue ie you get a purple fringe.
>
> I have looked at loads of test images of on dpreview, stevesdigicams
> etc and all Bayer cams have the fringe.
>
> Please note that this is not a Bayer / Foveon post, just my thoughts
> on this one problem.
>
> Cheers!
>
> HB



 
Reply With Quote
 
David Littlewood
Guest
Posts: n/a
 
      05-31-2004
In article <40baed08$0$14250$>, Paul Howland
<> writes
>digiboy wrote:
>
>> OK, here's my theory (no doubt 10,000 flames inbound ).
>> We all know that the Bayer filter is short of data in the red and
>>blue
>> channels actually they have only half the data of the green channel.
>> So imagine an image where an area of 100% white is right next to an
>> area that is substantially less.
>> The de-mosaic / interpolation process doesn't know where the
>>dividing
>> line is and so interpolates ie invents an intermediate value for each
>> channel. Because the red / blue channels have 1/2 the data this is
>> more obvious in red / blue ie you get a purple fringe.
>> I have looked at loads of test images of on dpreview, stevesdigicams
>> etc and all Bayer cams have the fringe.
>> Please note that this is not a Bayer / Foveon post, just my thoughts
>> on this one problem.
>> Cheers!
>> HB

>
>Nothing to do with that. Chromatic aberration (aka. purple fringing)
>is due to the lens focusing red and blue light in slightly differently
>places. This is what so-called achromatic lenses in more expensive
>lenses are designed to solve. CA can also arise due to the microlenses
>in front of the sensor - both Bayer sensors and the SD10's Foveon
>sensor use these. Foveon and Bayer sensors are equally prone to this
>effect. Indeed, problems with chromatic aberration is a consistent
>(minor) criticism of the Sigma SD10 in some reviews. The SD9 does not
>suffer so much from this - other than due to the camera's lens - as it
>has no micro lenses over the sensor. But as a consequence, its low
>light performance is abysmal and it can go no faster than ISO400.


Please bear in mind there are two quite different types of chromatic
aberration.

Longitudinal or axial chromatic aberration (LCA) is the one you have
described, i.e. the effect of a lens bringing light of different colour
to a focus at different distances. It is improved by stopping down, and
is constant across the field. This is not what is being observed here.

The other, which is the one which normally causes colour fringing, is
transverse or lateral chromatic aberration (TCA), which is a difference
in magnification of the image from light of differing wavelengths. TCA
is an off-axis aberration; it gets worse at greater angles of incidence,
i.e. towards the edge of the field. It is not at all improved by
stopping down. The fringes are normally blue toward the axis and red
toward the edge of the image (though I suspect over-correction is
possible, I doubt it occurs often). Interestingly, it gets worse for
longer focal lengths, and is why fluorite or very expensive special
glasses need to be used to make such lenses perform well.

The effects you mention, if they arise from the taking lens, will almost
certainly be TCA, which is visible in most lenses if you look close
enough. Strangely enough, it is one of the easiest to correct using
software. Bryan Caldwell, whose optical expertise is orders of magnitude
ahead of mine, has explained this several times here before, and has a
very interesting web site on how to do it.

You should be able to check if TCA in the taking lens is causing the
problem; if the fringes get worse at the edge, and re absent or very
small at the centre, then it is very likely* that TCA is the cause. If
it is constant across the frame it certainly is not.

*I say "very likely" rather than "certain" as, of the two other causes
discussed, sensor angle of incidence also increase towards the edge.

Other tests: If the fringes also occur on a film body and get worse at
the edge, it's certainly TCA.

If the fringes get worse with a telephoto lens, it's almost certainly
TCA.

If the fringes get less with a long lens and worse with a wide, it's
probably a sensor incidence angle/microlens issue and has nothing to do
with the taking lens.

If the fringes stay pretty well the same regardless of lens and position
in the frame, it could well be a sensor artefact. How this could be
proved will require expertise beyond anything I can offer.
--
David Littlewood
 
Reply With Quote
 
E. Magnuson
Guest
Posts: n/a
 
      05-31-2004
On 2004-05-31, David Kilpatrick <> wrote:
> The effect you are talking about - highlight-created purple fringes -
> seems to be Bayer specific


Sigh. Where do you get this?

Look at this photo:
http://www.pbase.com/image/27849780

Look at the man in the white t-shirt near the center of the frame with
the sunglasses on his head. Look at the specular reflection of the sun
on the sunglasses. See the purple fringe? (It's not the lens: the
comments say that this was taken with the 50mm EX, arguably Sigma's
best lens.)

Early versions of the SD9 were notorious for this on many specular
highlights. The SD10 seems to be better, but it still happens.
It's also not uncommon on specular highlights on Kodak SLR/n photos.
It's most likely a blooming artifact (charge leakage to adjacent cells.)
The easiest way to reproduce it is to take a photo of a shiny black
car (even better if it has lot's of chrome) in the sun.

> The Sigma does not have the 'purple fringe' phenomenon at all,


It does, it just takes a brighter light/dark boundary to see it.

(BTW, if it's only a "small sensor" artifact, how can you say it's
Bayer specific when we don't have any images from a small sensor X3
camera?)

--
Erik
 
Reply With Quote
 
David Kilpatrick
Guest
Posts: n/a
 
      05-31-2004


E. Magnuson wrote:

> On 2004-05-31, David Kilpatrick <> wrote:
>
>>The effect you are talking about - highlight-created purple fringes -
>>seems to be Bayer specific

>
>
> Sigh. Where do you get this?
>
> Look at this photo:
> http://www.pbase.com/image/27849780
>
> Look at the man in the white t-shirt near the center of the frame with
> the sunglasses on his head. Look at the specular reflection of the sun
> on the sunglasses. See the purple fringe? (It's not the lens: the
> comments say that this was taken with the 50mm EX, arguably Sigma's
> best lens.)
>
> Early versions of the SD9 were notorious for this on many specular
> highlights. The SD10 seems to be better, but it still happens.
> It's also not uncommon on specular highlights on Kodak SLR/n photos.
> It's most likely a blooming artifact (charge leakage to adjacent cells.)
> The easiest way to reproduce it is to take a photo of a shiny black
> car (even better if it has lot's of chrome) in the sun.
>
>
>>The Sigma does not have the 'purple fringe' phenomenon at all,

>
>
> It does, it just takes a brighter light/dark boundary to see it.
>
> (BTW, if it's only a "small sensor" artifact, how can you say it's
> Bayer specific when we don't have any images from a small sensor X3
> camera?)
>
>


This isn't the same purple fringe as people are talking about. I am
aware the Sigma can bleed over when shooting a light source - I've done
it. Interestingly, the Sigma produced an identical effect to the
halation exposure visible on Fuji Velvia from the same shot with the
same lens, which leads me to think that the sensor may just be copying
an effect also visible on film.

If you've seen the purple fringes which people complain about from the
Sony, Canon and Minolta 8 megapixel cameras; from the Minolta Z1/Z2 and
its Kodak brothers; and one or to other cameras - they are directional,
affecting one side of a highlight area typically, and not chromatic
(i.e. they do not have any matching complementary coloured fringe on the
opposite transition of light/dark in the same zone of the image).

The Sigma doesn't produce this kind of fringe, and nor do most DSLRs.
The new Kodak DCS Pro/n produces something similar but not identical. I
have yet to try one with the firmware fix. In my opinion, the Pro/n
suffered from an entirely different problem with chromatic shifts in the
peripheral field emphasised on one side by a tendency to a blue
chromatic aberration-like error.

David

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Purple fringe sample from Sony DSC-F828 Richard J Kinch Digital Photography 4 06-09-2004 03:46 AM
purple fringe - due solely to Bayer filter? Georgette Preddy Digital Photography 1 05-31-2004 11:37 PM
Purple Ring & Purple spot in many pics mv Digital Photography 3 05-10-2004 08:35 PM
Sony DSC-F828 Purple Fringe test pics Birk Binnard Digital Photography 3 04-12-2004 03:09 PM
what causes the purple / blue fringe ? digiboy Digital Photography 4 04-04-2004 05:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57