Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Digital Photography > Possible to extract high resolution b/w from a raw file?

Reply
Thread Tools

Possible to extract high resolution b/w from a raw file?

 
 
bob
Guest
Posts: n/a
 
      05-10-2011
Is it possible to to extract a b/w photo from a camera raw file that is
higher resolution than the color version, since one color pixel is made up
of 4 b/w pixels with color filters?

 
Reply With Quote
 
 
 
 
Bruce
Guest
Posts: n/a
 
      05-10-2011
Mxsmanic <> wrote:
>bob writes:
>
>> Is it possible to to extract a b/w photo from a camera raw file that is
>> higher resolution than the color version, since one color pixel is made up
>> of 4 b/w pixels with color filters?

>
>No. The limit of luminance resolution doesn't change. All you're doing with
>black and white is removing the color information, but no new information is
>added. You can get the same black-and-white resolution by simply removing the
>color from the image.
>
>If you could physically remove the filters from the photosites on the sensor,
>then you could get better luminance resolution, at the expense of eliminating
>all color resolution entirely.



I often wonder why no manufacturer offers a b/w digital SLR or digital
rangefinder camera (yes, Leica Camera, that's you!). I think it would
be a strong seller to a niche market.

In the meantime, I am very satisfied with ADOX CM 20 film, which
probably has about the best resolving power of any currently available
photographic medium:

http://www.adox.de/english/ADOX_Films/ADOX_Films.html

 
Reply With Quote
 
 
 
 
Wolfgang Weisselberg
Guest
Posts: n/a
 
      05-10-2011
bob <> wrote:

> since one color pixel is made up
> of 4 b/w pixels with color filters?


It is not. It's made up of the pixel itself and then (with some
intelligent processing) of the values of it's neighbours with
different colours.

-Wolfgang
 
Reply With Quote
 
ray
Guest
Posts: n/a
 
      05-10-2011
On Mon, 09 May 2011 20:58:57 -0700, bob wrote:

> Is it possible to to extract a b/w photo from a camera raw file that is
> higher resolution than the color version, since one color pixel is made
> up of 4 b/w pixels with color filters?


I'm not aware of any current software that does that. I'm not an expert
either, but I do know a bit about digital signal processing. Seems to me
that a different de-mosaicing algorithm would have the potential to do
that.
 
Reply With Quote
 
shiva das
Guest
Posts: n/a
 
      05-10-2011
In article <>,
Bruce <> wrote:

> Mxsmanic <> wrote:
> >bob writes:
> >
> >> Is it possible to to extract a b/w photo from a camera raw file that is
> >> higher resolution than the color version, since one color pixel is made up
> >> of 4 b/w pixels with color filters?

> >
> >No. The limit of luminance resolution doesn't change. All you're doing with
> >black and white is removing the color information, but no new information is
> >added. You can get the same black-and-white resolution by simply removing the
> >color from the image.
> >
> >If you could physically remove the filters from the photosites on the sensor,
> >then you could get better luminance resolution, at the expense of eliminating
> >all color resolution entirely.

>
>
> I often wonder why no manufacturer offers a b/w digital SLR or digital
> rangefinder camera (yes, Leica Camera, that's you!). I think it would
> be a strong seller to a niche market.
>
> In the meantime, I am very satisfied with ADOX CM 20 film, which
> probably has about the best resolving power of any currently available
> photographic medium:
>
> http://www.adox.de/english/ADOX_Films/ADOX_Films.html


Phase One makes a monochrome back for medium format cameras, "the
Achromatic+ digital back", 39MP, which does not have a color filter.

"The Phase One Achromatic+ is available for the Mamiya 645 AFD
(including the Phase One 645DF camera), Contax 645 and Hasselblad V
interfaces.

"Also available is the Phase One Achromatic+ for Hasselblad H1 and H2
cameras.

"The Achromatic+ can be ordered without an IR filter mounted
permanently. There are multiple solutions available for working with
interchangeable filters for such a solution."

<http://www.phaseone.com/en/Digital-B...atic-plus-Info
..aspx>
 
Reply With Quote
 
nospam
Guest
Posts: n/a
 
      05-10-2011
In article <>, Bruce
<> wrote:

> I often wonder why no manufacturer offers a b/w digital SLR or digital
> rangefinder camera (yes, Leica Camera, that's you!). I think it would
> be a strong seller to a niche market.


kodak had a couple and they weren't.

it makes a lot more sense to use a standard sensor and convert to b/w
when you want it, without giving up the ability to shoot colour when
you don't. it's also substantially less expensive, since low volume
sensors are not cheap.
 
Reply With Quote
 
nospam
Guest
Posts: n/a
 
      05-10-2011
In article <>, Floyd L. Davidson
<> wrote:

> >> since one color pixel is made up
> >> of 4 b/w pixels with color filters?

> >
> >It is not.

>
> It is.


it isn't, which you confirm.

> And even your description below says that it is.


he gave no number, so it doesn't.

> >It's made up of the pixel itself and then (with some
> >intelligent processing) of the values of it's neighbours with
> >different colours.

>
> Actually, the minimum number of sensor locations that
> could be used per pixel is 4,


actually, it's 5: the pixel itself plus the 4 direct neighbors (up,
down, left, right). i don't know of anything that does that, since it
looks like ****. normally 9 is considered the minimum.

if you're thinking of a 2x2 block for a 4 pixel minimum, no. bayer does
not work that way.

> and in fact what actually
> is used will be a matrix of at least 9 sensor locations
> (and maybe more than that). They *all* contribute to
> the RGB values for a pixel produced by interpolation.


true, which means that it doesn't use 4.

typically it's 9 (good) or 25 (better) and occasionally even more but
it begins to not be worth it at that point.

> It is grossly inaccurate to consider each sensor
> location as directly related to a given pixel location
> of the image. It just doesn't work that way.


actually, quite accurate.
 
Reply With Quote
 
Martin Brown
Guest
Posts: n/a
 
      05-10-2011
On 10/05/2011 16:47, nospam wrote:
> In article<>, Floyd L. Davidson
> <> wrote:
>
>>>> since one color pixel is made up
>>>> of 4 b/w pixels with color filters?
>>>
>>> It is not.

>>
>> It is.

>
> it isn't, which you confirm.
>
>> And even your description below says that it is.

>
> he gave no number, so it doesn't.
>
>>> It's made up of the pixel itself and then (with some
>>> intelligent processing) of the values of it's neighbours with
>>> different colours.

>>
>> Actually, the minimum number of sensor locations that
>> could be used per pixel is 4,

>
> actually, it's 5: the pixel itself plus the 4 direct neighbors (up,
> down, left, right). i don't know of anything that does that, since it
> looks like ****. normally 9 is considered the minimum.


Actually he is right that a matrix of 4 cells is the bare minimum that
can be used for Bayer demosaic although the results are not great.

The pattern of 5 you describe fails completely for all red and blue
sensor sites which in the standard Bayer mosaic have only green direct
neighbours. At least Floyds method would allocate full RGB pixels to
every location on the grid apart from at the very edges.

RG
GB

Is the unit cell of the Bayer sensor grid.
>
> if you're thinking of a 2x2 block for a 4 pixel minimum, no. bayer does
> not work that way.


In a real sense it does sometimes although heuristics are used based on
the green channel information to decide what weights to use. The default
is 3x3 unless special conditions like sharp luminance edges are found.

The detailed algorithms are patented but in rough form green channel is
used to work out a crude green (proxy luminance) value for all the
unsampled points and then a heuristic shader uses the red and blue
pixels to fill in the gaps. Most digicams actually interpolate to a 2x1
chroma subsampled image that will be JPEG encoded. There are only 2G 1B
1R pixels per unit cell and it makes no sense to interpolate up to a
full colour 4G 4B 4R then convert to 4Y 4Cr 4Cb and subsample when you
can retain more accuracy and do it quicker from 4Y 2Cr 2Cb into JPEG.
>
>> and in fact what actually
>> is used will be a matrix of at least 9 sensor locations
>> (and maybe more than that). They *all* contribute to
>> the RGB values for a pixel produced by interpolation.

>
> true, which means that it doesn't use 4.


Typically it uses 9 and maybe a few from the next ring out to try and
work out if there is a sharp edge transition and chose the right tweak.
>
> typically it's 9 (good) or 25 (better) and occasionally even more but
> it begins to not be worth it at that point.
>
>> It is grossly inaccurate to consider each sensor
>> location as directly related to a given pixel location
>> of the image. It just doesn't work that way.

>
> actually, quite accurate.


No it isn't. Each pixel location in the final image is potentially
related to all its neighbouring sensor sites as well as its own measured
value. Measured values are not normally allowed to change in Bayer
demosaicing but may be altered by any unsharp masking done later.

The individual pixel tells you one colour channel at that point in the
image. The green channel is fairly informative and is used to generate
the first guess at luminance and then the red and blue are combined in.

The answer for the OP is that it depends. If you know the precise
blurring function of your monochrome image and it obeys some very strict
criteria then scientific deconvolution codes can be used to get a
roughly 3x increase in resolution in regions of high signal to noise at
the expense of various artefacts. The HST myopia problem was worked
around using these codes and they were used to diagnose the fault but it
isn't quick and the results are not always pretty. Unsharp masking is by
comparison quick, crude but moderately effective.

Regards,
Martin Brown
 
Reply With Quote
 
nospam
Guest
Posts: n/a
 
      05-10-2011
In article <>, Floyd L. Davidson
<> wrote:

> >> Actually, the minimum number of sensor locations that
> >> could be used per pixel is 4,

> >
> >actually, it's 5: the pixel itself plus the 4 direct neighbors (up,
> >down, left, right). i don't know of anything that does that, since it
> >looks like ****. normally 9 is considered the minimum.

>
> It's 4, not 5. One single RGGB matrix is the minimum that will provide
> a full color encoding.


only if you accept shitty results. 5 is the minimum if you want to
maintain the actual resolution of the sensor, not cut it by 75%.

> >if you're thinking of a 2x2 block for a 4 pixel minimum, no. bayer does
> >not work that way.

>
> You don't seem to understand how it works.


i definitely understand how it works.
 
Reply With Quote
 
nospam
Guest
Posts: n/a
 
      05-10-2011
In article <sngyp.71716$>, Martin Brown
<|||newspam|||@nezumi.demon.co.uk> wrote:

> >> Actually, the minimum number of sensor locations that
> >> could be used per pixel is 4,

> >
> > actually, it's 5: the pixel itself plus the 4 direct neighbors (up,
> > down, left, right). i don't know of anything that does that, since it
> > looks like ****. normally 9 is considered the minimum.

>
> Actually he is right that a matrix of 4 cells is the bare minimum that
> can be used for Bayer demosaic although the results are not great.


right, the results are awful and also very low resolution. no bayer
camera uses 2x2 blocks. it's stupid and a straw man.

> The pattern of 5 you describe fails completely for all red and blue
> sensor sites which in the standard Bayer mosaic have only green direct
> neighbours. At least Floyds method would allocate full RGB pixels to
> every location on the grid apart from at the very edges.


i wouldn't say fail completely. green is the main component of
luminance (and in the original bayer patent, only green was
considered). the colour errors will be high but the eye isn't that
sensitive to that.

a realistic minimum is 9 pixels. yes you 'can' do it with less but
nobody does.

> RG
> GB
>
> Is the unit cell of the Bayer sensor grid.


nobody uses 2x2, except in the minds of some foveon fanbois thinking
that's how bayer works (it doesn't).
 
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
Re: Possible to extract high resolution b/w from a raw file? nospam Digital Photography 180 07-15-2011 10:08 PM
Re: Possible to extract high resolution b/w from a raw file? David Dyer-Bennet Digital Photography 24 06-08-2011 09:58 PM
Re: Possible to extract high resolution b/w from a raw file? Wolfgang Weisselberg Digital Photography 31 05-26-2011 11:20 PM
Re: Possible to extract high resolution b/w from a raw file? David Dyer-Bennet Digital Photography 3 05-20-2011 11:59 PM
Re: Possible to extract high resolution b/w from a raw file? David Dyer-Bennet Digital Photography 3 05-20-2011 11:54 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