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

pixel to object mapping formula



 
 
Thread Tools Display Modes
  #1  
Old August 21st 11, 12:53 AM posted to sci.astro.amateur
Ron Cuaz
external usenet poster
 
Posts: 19
Default pixel to object mapping formula

Hi,

I forgot the formula.. something to do with tangent and radians.

Supposed I want to know how big a portion of object a certain distance
away would appear in a pixel in a camera.. with and without lens
magnification, what exact formula do you use?

Supposed the ccd chip resolution is 120x120 with pixel pitch of 25
micron.

And the focal length of the lens is 6.76 millimeters, with field of
view of 25 degrees and F-number of 1.5 with aperture of 4.5
millimeters.

How big in area of the an object say 5 meters away would appear to a
single pixel?

Thanks a lot.


  #2  
Old August 21st 11, 01:29 AM posted to sci.astro.amateur
Chris L Peterson
external usenet poster
 
Posts: 10,007
Default pixel to object mapping formula

On Sat, 20 Aug 2011 16:53:29 -0700 (PDT), Ron Cuaz
wrote:

Supposed I want to know how big a portion of object a certain distance
away would appear in a pixel in a camera.. with and without lens
magnification, what exact formula do you use?

Supposed the ccd chip resolution is 120x120 with pixel pitch of 25
micron.

And the focal length of the lens is 6.76 millimeters, with field of
view of 25 degrees and F-number of 1.5 with aperture of 4.5
millimeters.


Pixel scale is commonly calculated using

A = 206265 * d / F

where A is the angle per pixel is arcseconds
d is the pixels size (or pitch)
F is the focal length of the lens
(206265 is the number of arcseconds in a radian)

In your example,

A = 206265 * .025mm / 6.76mm = 762 arcsec/pixel = 12.7 arcmin/pixel

(which isn't a very realistic equipment combination for most imagers).
  #3  
Old August 21st 11, 02:09 AM posted to sci.astro.amateur
Ron Cuaz
external usenet poster
 
Posts: 19
Default pixel to object mapping formula

On Aug 21, 8:29*am, Chris L Peterson wrote:
On Sat, 20 Aug 2011 16:53:29 -0700 (PDT), Ron Cuaz

wrote:
Supposed I want to know how big a portion of object a certain distance
away would appear in a pixel in a camera.. with and without lens
magnification, what exact formula do you use?


Supposed the ccd chip resolution is 120x120 with pixel pitch of 25
micron.


And the focal length of the lens is 6.76 millimeters, with field of
view of 25 degrees and F-number of 1.5 with aperture of 4.5
millimeters.


Pixel scale is commonly calculated using

A = 206265 * d / F

where A is the angle per pixel is arcseconds
d is the pixels size (or pitch)
F is the focal length of the lens
(206265 is the number of arcseconds in a radian)

In your example,

A = 206265 * .025mm / 6.76mm = 762 arcsec/pixel = 12.7 arcmin/pixel

(which isn't a very realistic equipment combination for most imagers).


Thanks. So at a distance of 5 meters. How do I know how big an area of
the object it would appear to a single pixel? What's the formula? ow.
  #4  
Old August 21st 11, 02:36 AM posted to sci.astro.amateur
Chris L Peterson
external usenet poster
 
Posts: 10,007
Default pixel to object mapping formula

On Sat, 20 Aug 2011 18:09:19 -0700 (PDT), Ron Cuaz
wrote:

Thanks. So at a distance of 5 meters. How do I know how big an area of
the object it would appear to a single pixel? What's the formula? ow.


That's just basic trig. For a subtended angle A, a distance D, and an
object of size d,

A = 2 * arctan(0.5 * d / D), or
d = 2 * D * tan(A / 2)

So for a pixel scale of 12.7 arcmin/pixel, and a distance of 5 m,

d = 2 * 5 m * tan(12.7 arcmin / 2) = 0.018 m = 18 mm per pixel.
  #5  
Old August 21st 11, 03:01 AM posted to sci.astro.amateur
Ron Cuaz
external usenet poster
 
Posts: 19
Default pixel to object mapping formula

On Aug 21, 9:36*am, Chris L Peterson wrote:
On Sat, 20 Aug 2011 18:09:19 -0700 (PDT), Ron Cuaz

wrote:
Thanks. So at a distance of 5 meters. How do I know how big an area of
the object it would appear to a single pixel? What's the formula? ow.


That's just basic trig. For a subtended angle A, a distance D, and an
object of size d,

A = 2 * arctan(0.5 * d / D), or
d = 2 * D * tan(A / 2)

So for a pixel scale of 12.7 arcmin/pixel, and a distance of 5 m,

d = 2 * 5 m * tan(12.7 arcmin / 2) = 0.018 m = 18 mm per pixel.


Just for comparison to the human eyes. At the same distance of 5
meters. What area can each retina see? I assume a retina is like a
pixel in camera?

Sorry for being dumb in math.
  #6  
Old August 21st 11, 04:35 AM posted to sci.astro.amateur
Ron Cuaz
external usenet poster
 
Posts: 19
Default pixel to object mapping formula

On Aug 21, 9:36*am, Chris L Peterson wrote:
On Sat, 20 Aug 2011 18:09:19 -0700 (PDT), Ron Cuaz

wrote:
Thanks. So at a distance of 5 meters. How do I know how big an area of
the object it would appear to a single pixel? What's the formula? ow.


That's just basic trig. For a subtended angle A, a distance D, and an
object of size d,

A = 2 * arctan(0.5 * d / D), or
d = 2 * D * tan(A / 2)

So for a pixel scale of 12.7 arcmin/pixel, and a distance of 5 m,

d = 2 * 5 m * tan(12.7 arcmin / 2) = 0.018 m = 18 mm per pixel.


tangent of (12.7arcmin/2) is 0.1113 and multiply it by 2 * 5 is
1.113m. I wonder how you got 0.018 m?
  #7  
Old August 21st 11, 05:45 AM posted to sci.astro.amateur
Chris L Peterson
external usenet poster
 
Posts: 10,007
Default pixel to object mapping formula

On Sat, 20 Aug 2011 20:35:04 -0700 (PDT), Ron Cuaz
wrote:

tangent of (12.7arcmin/2) is 0.1113 and multiply it by 2 * 5 is
1.113m. I wonder how you got 0.018 m?


tan(12.7 arcmin / 2) = tan(0.1058 deg) = 0.0018. Times 2 times 5
meters is 0.018 m.
  #8  
Old August 21st 11, 05:49 AM posted to sci.astro.amateur
Chris L Peterson
external usenet poster
 
Posts: 10,007
Default pixel to object mapping formula

On Sat, 20 Aug 2011 19:01:56 -0700 (PDT), Ron Cuaz
wrote:

Just for comparison to the human eyes. At the same distance of 5
meters. What area can each retina see? I assume a retina is like a
pixel in camera?


The retina doesn't behave much like the pixels of an electronic
sensor. Nominally, the resolution of the eye is usually taken to be
about one arcminute- about 13 times finer than the resolution of the
camera system you are using as an example.
  #9  
Old August 21st 11, 06:25 AM posted to sci.astro.amateur
Ron Cuaz
external usenet poster
 
Posts: 19
Default pixel to object mapping formula

On Aug 21, 12:45*pm, Chris L Peterson wrote:
On Sat, 20 Aug 2011 20:35:04 -0700 (PDT), Ron Cuaz

wrote:
tangent of (12.7arcmin/2) is 0.1113 and multiply it by 2 * 5 is
1.113m. I wonder how you got 0.018 m?


tan(12.7 arcmin / 2) = tan(0.1058 deg) = 0.0018. Times 2 times 5
meters is 0.018 m.


but 1 radian is equal to 57.2957795131 degree
so converting 12.7/2 or 6.35/ 57.2957795131 is 0.1108284 degrees

but in your case, you seem to use 1 radian = 60 degree to arrive at
6.35/60 = 0.105833

Why did you use 60 degree per radian? is there a particular
significant like maybe some relativistic correction? Just curious why
you need to use 60 instead of 57 since typing 2 numbers in calculator
requires same effort. Thanks.
  #10  
Old August 21st 11, 09:38 AM posted to sci.astro.amateur
Paul Schlyter[_3_]
external usenet poster
 
Posts: 1,344
Default pixel to object mapping formula

On Sat, 20 Aug 2011 16:53:29 -0700 (PDT), Ron Cuaz
wrote:
How big in area of the an object say 5 meters away would appear to a


25 microns divided by 6.76 millimeters and then multiply by 5 meters.
The result will be some 18 millimeters.

And, yes, you must do some unit conversions while calculating this. I
suggest you convert all lengths to millimeters.
 




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
Mapping Orion's winds (Forwarded) Andrew Yee Astronomy Misc 0 January 10th 06 05:25 PM
Mapping Orion's winds (Forwarded) Andrew Yee News 0 January 10th 06 04:57 PM
How do you calculate effective FL/FR based on object pixel size? Chris L Peterson Amateur Astronomy 1 September 8th 04 03:27 AM
Best astronomy mapping software Pieter Tieghem Amateur Astronomy 38 February 14th 04 06:12 PM
Earth mapping satellite? Rich Satellites 4 October 26th 03 07:01 PM


All times are GMT +1. The time now is 06:01 AM.


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.