# Questions tagged [calculations]

Photographic math — equations, formulas, algorithms related to making or processing images.

154 questions
Filter by
Sorted by
Tagged with
113 views

### How to calculate the Aperture and Focal length needed for depth of field

I have a virtual camera in a game engine. The camera has an DOF setting where you can set the : Distance to object Aperture Focal length I would like to set a depth of field (lets say about 5m) ...
404 views

### How to determine via a math formula when a lens is wide angle or macro

Lets say I have a device with 3 separate lenses. One will be the main reference lens, and then the two others may be a wide angle lens or a macro lens, or also even a replica of the main reference ...
• 121
293 views

### Is x50 zoom camera able to zoom 500 meter target area from a 6 km distance?

I have a x50 zoom camera and here is some specs of the camera and lens: Focal length: 6 mm ~ 300 mm Field of view: 58.4° ~ 1.4° Resolution: 2 MP I drew a scheme to explain my question properly, you ...
290 views

### How to calculate height of camera and ground coverage via geometry?

I have a GoPro7 that I will mount on a pickup vehicle to capture ground images with video capture. The camera isn't top down but has about 20 (or 30) degrees inclination from the vertical axis. I want ...
1 vote
47 views

### How to calculate under or over exposure using these values TTL meter (Lux), Shutter speed and ISO/ASA

I would like to get into film photography as a hobby, I own two 35mm film Cameras which both have broken TTL meters, they are common Fujica bodies and I would like to replace the (battery damaged) TTL ...
357 views

### Calculate lens FOV difference between Full-frame and APS-C sensors?

According to manufacturer specs 20mm lens has Field of View 94 degrees on FF (35mm) sensor and 70 degrees on APS-C sensor. Another 35mm lens only has Field of View specified for FF (35mm) 63 degrees. ...
• 195
223 views

### Finding real life width and height knowing camera properties and distance to object [duplicate]

I'm trying to basically find the width and height of someone's face I know the following: distance from face to camera in mm the sensor height in mm the focal distance in mm distance in pixels ...
1 vote
297 views

### DOF comparison between two lenses

Someone told me: To compare the amount of DOF of two lenses I just would need to calculate the size of the entrance pupil. The lens with the bigger entrance pupil has less DOF thus creates nicer ...
• 1,493
231 views

### How are wide angle lenses able to project an image onto a sensor?

The Nikon F-mount has a flange distance of 46.5mm. A 14mm lens for example has an horizontal angle of view of about 104°. How is a lens able to project an image from the rear element onto the sensor ...
• 1,493
1 vote
392 views

### Holga 120 WPC exposure times

I'm struggling to reconcile the recommended exposure times of a Holga 120 Wide Pinhole Camera as suggested by Holga, vs the values I am getting via an app like Pinhole Assist (or even when computing ...
• 1,617
1 vote
621 views

### Calculating the "35mm equivalent" circle of confusion/DoF

I'm gonna introduce my concrete example, but I'd like to know how do do this calculation in general. Say I have a middle-format camera with film height 58mm and a 90mm/3.5 lens. What is the equivalent ...
• 113
1 vote
608 views

### Why is the image plane at Z = f in pinhole camera models?

Can someone show me the mathematical interpretation of why the image plane is at Z = f in the pinhole camera model? I found a possibly useful formula in Wikipedia, as shown in the figure below: My ...
1k views

### How to estimate pixels per degree for an image from a camera phone using EXIF data?

This is my first time to look at metadata and I'm confused by the focal length stated in this file that a friend e-mailed to me. It was taken with a cell phone. I'm trying to roughly estimate the ...
• 1,210
319 views

### How to calculate the precision/resolution of a camera

I know there are other questions about this but I couldn't find the answer I was looking for... I am developing a control system using a camera and I need to know theoretically the precision/...
• 123
1 vote
111 views

### What aperture to use to get the same DOF as in a panoramic image

When I take a panorama with a 80mm lens at F/2.0 on a fullframe body such that the resulting image has a equivalent field of view of a 50mm lens on the same body, what would then be the equivalent ...
• 1,493
95 views

### What's causing my camera to slow down AFTER the image was saved?

I tested my Nikon D800 with a SanDisk Ultra 64 GB 80 MB/s SD card. I have a device which measures time and is triggered by the green LED light on the back of my camera which indicates that it's ...
• 1,493
207 views

### Is the hyperfocal distance calculation outdated?

The hyperfocal distance H is calculated by H = (f^2)/(N*c)+f where f is the focal length, N the f-stop and c the circle of confusion limit. Lets assume we use a fullframe sensor. All those calculators ...
• 1,493
108 views

### Generate a sequence of exposure time options mathematically [duplicate]

Is there a way to generate a sequence of usual/standard exposure time options mathematically? Something like 1/5000, 1/2500, 1/1500, 1/1000...1/500, 1/250/ 1/125...1/60...1/30...1/8, 1/4, 1/2, 1, 2, 3,...
• 103
941 views

### How can i calculate the direction vector of a pixel? [closed]

So if you take a pinhole camera and make it as the origin of our plane(3D) and a pixel from the image plane and connect the two with a straight line it should make a vector, which has direction and a ...
1 vote
293 views

### Can we prove that the object is not tilted from photo(s)?

This is an image of Al-Masjid an-Nabawi. Can we from this image, or from combination of images available online say with a certain degree of confidence (prove?) that this red circled minaret is ...
• 263
3k views

### How to correctly calculate the Dynamic Range of an image

I'm trying to compare the dynamic range of a correctly exposed LDR picture with the dynamic range of the HDR image obtained with 3 LDR pictures. Right now I'm calculating the DR as: stops = log2(...
• 127
1 vote
917 views

### angle of view and distance from subject calculation for a smartphone

I would like to calculate the angle of view of a photo taken by a smartphone, in order and estimate the distance from a subject of a specific size. Let's do calculation for a Samsung S7, which has a ...
• 113
3k views

### Shutter Speed from the Exif ShutterSpeedValue

Extracting Exif data from my photo (using python) among the other values I have: 'ShutterSpeedValue': (8643856, 1000000), 'ApertureValue': (1695994, 1000000) After some research, I found that the ...
• 183
406 views

### How do I calculate how high a camera needs to be to fit an object in the frame based on its field of view?

I'm doing a computer vision application related to snooker for my dissertation. In a section of my report, I’m talking about cameras and it would be good if I’m able to do the calculation stated above....
643 views

### How to calculate the new focal length when usng a lens mount adapter

I'd like to know how to calculate the new focal length when using a lens adapter. Is there any formula? To be more specific: I need to attach my old lens (four third) to new micro four third system ...
• 231
648 views

### What is the formula to calculate aperture ("diaphragme" in French)?

Let's say I have these data for my camera: t : Exposure time in seconds ("temps de pose" in French) C : Incident-light meter calibration constant ("constante lumière incidente" in French) S : ISO ...
• 109
315 views

### Does field of view change for different lens model for the same focal length?

I am using two lenses - Tamron 75-250mm F/3.8-4.5 Model 104A and AF-P DX NIKKOR 70-300mm. When shot with lenses set to 250mm of focal length, the field of view for the Tamron lens is greater than the ...
• 219
4k views

### How to calculate focal reducer crop factor for APS-C to MFT?

As far as I can tell, the crop factor determines the size of the projected image circle and should match the ratio of sensor diameters (with standard mount forward / backward distance). My ...
• 113
1 vote
3k views

### Calculate the distance of an object in a picture? [duplicate]

I'd like to know the distance between the camera and the object, just by looking at the object height (pixels) or it's width and the real life dimensions. Here is a formula we can get on the internet: ...
1 vote
223 views

### How can the focal length for shake reduction be determined when the lens is mounted using a reverse lens adapter?

My camera (Sony A7RII) offers image stabilisation (SteadyShoot). I shoot macros using a 50mm and a 28mm Olympus lens reverse mounted with anadapter. What values should I enter in the menu to ...
• 497
1 vote
500 views

### How can I use a non-TTL lightmeter beyond its built-in ISO range?

Some introductory information first: I got into photography a few months ago and I have very basic knowledge on the matter so be patient - the answers may be obvious for you. The camera is Zenit 11 - ...
346 views

### How do extension tubes affect the image circle? [duplicate]

If you abuse your lens by just stacking a bunch of extension rings one on top of the other, will this start to affect your image circle? For instance, you have a lens that can just about cover your ...
123 views

### a general account on parameters of a camera; which are innate, which are derived, which can be processed later, etc [duplicate]

So we all know there are 3 golden parameters in camera: aperture, iso, shutter speed. I could sense those 3 parameters are innate, which means they are directly related to the mechanics of the camera, ...
3k views

### What is 'sensor height?'

The accepted answer to the question, How do I calculate the distance of an object in a photo?, refers to sensor height. What is sensor height and how do find/calculate it in this context? I'm using a ...
1 vote
499 views

### What does the value of 'exit pupil' represent on a lens datasheet?

On this datasheet of the Kowa LM25HC lens I have access to, there is a number called exit pupil, which equals -57.9 mm. What does this number represent? This is not a question about what the exit ...
748 views

### How does blur radius change with distance from the point of focus at macro distances?

In a macro situation, is there a known function that maps the blur radius as a function of the physical distance from the plane of focus? I'd expect this function to give near zero (in pixels) at ...
• 853
1 vote
6k views

### How to calculate stops of light lost from a teleconverter?

How would I be able to take the multiplication value of a teleconverter (1.7, 1.4, 2, etc) and find out how many stops of light are lost when using it just based on that number?
• 274
2k views

### Why doesn't the focus distance at which my lens has magnification 1 match the formula?

From the Magnification Wikipedia page, I have the following equality: M = di/do = f/(do – f) = (di – f)/f with M the magnification, f the focal length, do the distance from the subject to the lens,...
• 245
589 views

### Estimating Distance From An Image [duplicate]

Assuming that the person stands parallel to a wall. The person and the wall are at the same ground level. The person takes a picture of the wall (Considering that the person always captures the bottom ...
1k views

### How to calculate the max size of an image based on the canvas size?

How to calculate the maximum height or width of an image based on the canvas size or poster card size? example: image size is as below: height: 3648, width: 5472, and poster card size: 150 * 100 (W*...
• 103
995 views

### How to measure distance of exit pupil to sensor plane

Is there an experimental way to determine the distance of the sensor plane to the exit pupil? (acuracy a few milimeters with distances between 10-70 mm) Why I want this In my lab I am working with a ...
• 129
2k views

### Calculate camera tilt angle from 2D image [closed]

I want to calculate the camera's tilt angle from a photograph, without knowing anything about the camera (or lens). Suppose I can extrapolate the vanishing points (one-point or two-point perspective): ...
• 157
15k views

### How to calculate the real size of an object from two photos in different types of perspective, knowing the dimensions of one of the objects?

How to calculate the real size of an object from two photos in different types of perspective, knowing the dimensions of one of the objects in these pictures? When I was in college, we did such ...
318 views

### Pixels per inch relation

I have a Nikon DSLR D5500 and a 18-55mm lens and a 50 mm lens. I was calibrating the camera to get the pixels per inch using each of the lenses and all other factors like the distance from the object ...
4k views

### How do I calculate the “effective focal length” of a cropped photo?

Suppose I’ve taken a photo and then cropped it. If the crop is extreme enough then I might want to go back and take the same photo with a more telephoto lens so that I can take full advantage of my ...
• 678
1 vote
1k views

### Is my distance/size math for macro photography correct?

I was comparing Panasonic lenses the other day, and I wanted to know about their macro capabilities. Obviously Panasonic lists the closest focusing distance, but this doesn't tell me much about the ...
2k views

### How do I calculate film ISO compensation for non–through-the-lens metering when using an ND filter?

I have a Yashica Electro 35 film rangefinder camera. I usually load some higher sensitivity film so I can easily take pictures indoors, but now in summer I ran into trouble shooting outside on several ...
• 103
6k views

### Is it exactly true that doubling the focal length makes everything look twice as big?

I had come to the conclusion that if one lens has twice the focal length of another, that means it makes everything look twice as big. Conversely, if a lens has half the focal length, you see twice as ...
• 2,767
1 vote
2k views

### How do I calculate the depth of field of cameras on mobile phones with auto focus?

I just hope to learn the relationship between depth of field (DOF) with the distance on my mobile phone. When I capture one cup with the distance about 20cm from my phone, what 's the DOF? When I ...
• 235