Wikipedia:Reference desk/Archives/Mathematics/2016 March 30

Mathematics desk
< March 29 << Feb | March | Apr >> March 31 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


March 30 edit

Actual resolution of a clipped fisheye lens? edit

I have a complex math geometry question. I don't know if I can ask this here. If I should try someplace else please suggest something.

I'm mainly doing this research just for myself but it could possibly be useful in the article Fisheye lens.

Background:

I am researching fisheye security cameras. Some cameras have an entirely circular 360 degree view and it is easy to determine the actual resolution as simply the area of the circle.

Some however have a circular lens that overhangs the edges of the sensor, so the sides of the circle are partially clipped off. This allows more image sensor usage but at the expense of reducing side view, and is best used in long rectangular spaces like hallways.

Non-free image example hosted on imgur.com: http://imgur.com/VuLqFJ5

Product manual:

I'm not sure how they claim more than 180 degrees field of view, but I believe it's because the lens protrudes out from the base and the base itself sticks out from the mounting surface, so the lens can see slightly into that area beside the camera body.

The question:

How would I calculate the active pixel viewing area for this camera, where the sensor can actually see something, and exclude the black wedges that never detect anything?

I am aware of the imprecision of this calculation, especially around the lens edges where the circular view reflects/refracts and rolls off to infinity. See non-free example: http://imgur.com/4dl9Cqx

Is there a way to determine the usable pixel area calculation directly from the image, vs doing an abstract formula of the resolution and field of view angles?

-- DMahalko (talk) 22:47, 30 March 2016 (UTC)[reply]

It looks like you have a circle with a circular segment cut off at the top and bottom. Once you find that net area, you can compare that to the area of the rectangle to figure out what percentage of it is used. StuRat (talk) 04:04, 31 March 2016 (UTC)[reply]
The area of the clipped circle is  , where   is the height,   is the minimum (top and bottom) width,   is the diameter (=maximum width), and   is the angle of the diagonal from the horizontal (in radians). You could measure w and h in pixels in a full-resolution sample image and plug them into that to get a total pixel count. -- BenRG (talk) 04:01, 31 March 2016 (UTC)[reply]