A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » Amateur Astronomy
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

calculating pixel dimensions



 
 
Thread Tools Display Modes
  #1  
Old February 20th 07, 01:13 AM posted to sci.astro.amateur
TMA[_2_]
external usenet poster
 
Posts: 49
Default calculating pixel dimensions

If you know how many pixels there are on a CCD or CMOS and the resolution
of the output, can you determine the pixel dimensions?


  #2  
Old February 20th 07, 02:21 AM posted to sci.astro.amateur
Chris L Peterson
external usenet poster
 
Posts: 10,007
Default calculating pixel dimensions

On Tue, 20 Feb 2007 01:13:57 GMT, "TMA" wrote:

If you know how many pixels there are on a CCD or CMOS and the resolution
of the output, can you determine the pixel dimensions?


How do you define "the resolution of the output"? Unless this is some
odd spec provided by the camera manufacturer, then no, you can't
determine anything about the pixel spacing or pixel size from the output
alone.

You can determine the size of the sensor and the spacing of the pixels
if you know the focal length of the imaging optics, and have a reference
image of known size (such as the Moon, or a set of stars with known
spacings).

_________________________________________________

Chris L Peterson
Cloudbait Observatory
http://www.cloudbait.com
  #3  
Old February 20th 07, 06:56 AM posted to sci.astro.amateur
canopus56[_1_]
external usenet poster
 
Posts: 556
Default calculating pixel dimensions

On Feb 19, 6:13 pm, "TMA" wrote:
If you know how many pixels there are on a CCD or CMOS and the resolution
of the output, can you determine the pixel dimensions?


Normally the physical linear dimensions of an individual pixel are
found by looking by the detector or camera in manufacturer's
specifications and reference is not made to the angular size of
objects resolved by the chip. If you are unable to find a
manufacturer's spec table on the internet, Berry and Burnell's HAIP
book (sec. 1.4.2) describes the following procedure. We assume you
know the image size in pixels. It is usually reported in by your image
capture software. Assuming the image size is the pixel count (e.g.
640x480), given the pixel count and taking a physical measurement of
the chip size with a ruler or micrometer, you can compute the pixel
size. The following is the HAIP example:

d_pixel = d_ccd / N

For a webcam with a 4mm x 3mm chip and 640x480 pixels, the width of a
pixel is:

d_pixel = 4mm / 640 px = 0.00625 mm/px = 6.25 microns.

The height of a pixel is:

d_pixel = 3mm / 480 px = 0.00625 mm/px = 6.25 microns.

The example chip has square pixels. Some cameras have rectangular
pixels - their aspect ratio (height/width) is not 1.0. For example, I
use a DSI II. It has rectangular pixels.

For some chips, pixels are binned togther in groups. In the example
chip, 4 pixels might be binned together - using hardware or software -
to form 25 micron squares.

- Canopus56

  #4  
Old February 20th 07, 01:50 PM posted to sci.astro.amateur
TMA[_2_]
external usenet poster
 
Posts: 49
Default calculating pixel dimensions


You can determine the size of the sensor and the spacing of the pixels
if you know the focal length of the imaging optics, and have a reference
image of known size (such as the Moon, or a set of stars with known
spacings).



what do you mean reference image of known size? The moon is 1/2 '


  #5  
Old February 20th 07, 03:51 PM posted to sci.astro.amateur
Chris L Peterson
external usenet poster
 
Posts: 10,007
Default calculating pixel dimensions

On Tue, 20 Feb 2007 13:50:08 GMT, "TMA" wrote:

what do you mean reference image of known size? The moon is 1/2 '


Right. So if the 1800 arcsecond Moon covers 582 pixels, and you are
using a 400 mm focal length lens, you can calculate the pixel spacing p
(in millimeters):

p = ((1800 arcsec)(400 mm)) / (206265 * 582 pixels) = 0.006 mm.

Keep in mind that the Moon varies in size, and it can be hard to
precisely measure its width in pixels. If you are after a precise
measurement, use a pair of stars of known separation. Also, note that
the pixel spacing isn't the same as the pixel size. Pixel size can't be
determined from anything other than chip specifications. Finally, be
aware that many sensors have different pixel spacings horizontally and
vertically, so you should measure both.

_________________________________________________

Chris L Peterson
Cloudbait Observatory
http://www.cloudbait.com
  #6  
Old February 22nd 07, 05:49 PM posted to sci.astro.amateur
TMA[_2_]
external usenet poster
 
Posts: 49
Default calculating pixel dimensions


"Chris L Peterson" wrote in message
...
On Tue, 20 Feb 2007 13:50:08 GMT, "TMA" wrote:

what do you mean reference image of known size? The moon is 1/2 '


Right. So if the 1800 arcsecond Moon covers 582 pixels, and you are
using a 400 mm focal length lens, you can calculate the pixel spacing p
(in millimeters):

p = ((1800 arcsec)(400 mm)) / (206265 * 582 pixels) = 0.006 mm.



Where does the 582 pixel value come from?


  #7  
Old February 22nd 07, 06:45 PM posted to sci.astro.amateur
Chris L Peterson
external usenet poster
 
Posts: 10,007
Default calculating pixel dimensions

On Thu, 22 Feb 2007 17:49:27 GMT, "TMA" wrote:

Where does the 582 pixel value come from?


It's just an assumption in this example that the image of the Moon is
582 pixels in diameter. In general, the pixel spacing is given by

p = a * F / 206265 / d

where

p = pixel spacing
a = angle between reference objects in arcseconds
F = focal length of the optics (in the same units as p)
d = number of pixels between reference objects

BTW, 206265 is the number of arcseconds in a radian.

_________________________________________________

Chris L Peterson
Cloudbait Observatory
http://www.cloudbait.com
  #8  
Old February 23rd 07, 12:02 AM posted to sci.astro.amateur
TMA[_2_]
external usenet poster
 
Posts: 49
Default calculating pixel dimensions


"Chris L Peterson" wrote in message
...
On Thu, 22 Feb 2007 17:49:27 GMT, "TMA" wrote:

Where does the 582 pixel value come from?


It's just an assumption in this example that the image of the Moon is
582 pixels in diameter. In general, the pixel spacing is given by

p = a * F / 206265 / d

where

p = pixel spacing
a = angle between reference objects in arcseconds
F = focal length of the optics (in the same units as p)
d = number of pixels between reference objects

BTW, 206265 is the number of arcseconds in a radian.



Grand!


  #9  
Old February 23rd 07, 05:16 AM posted to sci.astro.amateur
canopus56[_1_]
external usenet poster
 
Posts: 556
Default calculating pixel dimensions

On Feb 22, 10:49 am, "TMA" wrote:
Where does the 582 pixel value come from?


When you take an image, how many pixels are on each side in your
picture. Most images report their pixel size with a right click in
Windows. Or open the image up in MS-Paints and look at "Image size".
- Canopus56

  #10  
Old February 23rd 07, 06:13 AM posted to sci.astro.amateur
TMA[_2_]
external usenet poster
 
Posts: 49
Default calculating pixel dimensions


"canopus56" wrote in message
ups.com...
On Feb 22, 10:49 am, "TMA" wrote:
Where does the 582 pixel value come from?


When you take an image, how many pixels are on each side in your
picture. Most images report their pixel size with a right click in
Windows. Or open the image up in MS-Paints and look at "Image size".
- Canopus56



YOu Da MAn!!...


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Researchers Aim for Single-Pixel Camera [email protected] Amateur Astronomy 7 October 12th 06 06:25 PM
New scope with 3.2 giga pixel camera Llanzlan Klazmon Amateur Astronomy 3 May 28th 06 11:45 PM
hot pixel of SONY ICX098 Hergen Schneider CCD Imaging 0 November 15th 05 04:33 PM
"hot" pixel on CCD: what is it and should I be concerned? Mike Renner Amateur Astronomy 7 June 13th 05 07:15 PM
Pixel 211 CCD Camera MarcoPaolilli Amateur Astronomy 1 June 3rd 04 01:34 AM


All times are GMT +1. The time now is 07:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 SpaceBanter.com.
The comments are property of their posters.