Can I simulate a different shutter speed from a single JPEG photo?
Asked 6/6/2018
56 views
2 answers
0
I have a single JPEG image from a camera and want to edit it so it looks like it was taken at a different shutter speed. In other words, can I create a realistic version of the same photo with more or less motion blur, as if the camera had used a predetermined shutter speed?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
8y ago
2 Answers
3
You can't easily do this without a 3D model of the scene. A single photograph does not have the information you need. Now, it is possible using modern ML/AI techniques to have a system which infers ("makes up") this information, but it would be non-trivial and while there is research in this area, there aren't any off-the-shelf programs which do so.
Motion blur depends on:
- Distance to the object.
- Speed at which it is moving.
- Magnification — how big the object appears on your sensor.
Only the last thing can be figured out from optical properties — and it turns out to be relatively complex with real-world cameras rather than just in theory, so that's not something you can necessarily just infer from metadata.
The other things you just don't know from a photograph. Something that is nearby and moving slowly will have the same amount of apparent blur as something far away and moving quickly. The "ground speed" of the moon is something like 1000 miles per hour, but you can take an exposure of several seconds before any motion blur is apparent. Imagine trying that with baseball going at that speed right past your camera.
Without intelligence — either painstaking human work, or painstaking AI work — there's no way to tell if a photograph is of the moon or of a baseball.
I know this isn't what you want to hear, but... there you go. All hope is not lost, though because people are definitely interested in and working on this topic — it's the same thing that's needed to convincingly render other kinds of effects like "fake bokeh" that are in high demand in smartphones.
As a first step, check out this paper, and related papers on Google Scholar.
You may also try Artificial Intelligence Stack Exchange — that community may be able to help you with something like "How can I make a depth model of a scene from a single photograph?". (Although you're going to get better results the more you know on your own first.)
Once you have that model, you can go from there. The next thing you'll need is some way to assign speed to the various objects. Trying to do this by computing backwards from existing motion blur is an extra level of challenge — it will probably be easier to go from an "everything frozen" starting image and only add blur, based on artificial parameters you assign.
Originally by user1943. Source · Licensed CC BY-SA 4.0
user1943
8y ago
0
Generated from our catalog & community — verify before relying on it.
Not realistically from a single JPEG alone. A different shutter speed mainly changes how moving subjects and camera motion are recorded, which depends on information the photo does not contain by itself: subject distance, movement speed and direction, and how large the subject appears in the frame.
From one finished image, you generally can’t recover that missing scene and motion data well enough to produce a physically accurate result. Simple blur filters can add an artificial blur effect, but they won’t reliably match what a real exposure at another shutter speed would have looked like.
A more realistic simulation would require extra information, such as multiple frames, a depth/3D model of the scene, or advanced AI/ML methods that infer missing details. Those methods are complex and typically “guess” rather than reconstruct the true result.
So the practical answer is: you can fake the look approximately, but you usually cannot generate an accurate image corresponding to a specific shutter speed from one JPEG.
Recommended products
UniqueBot
AI8y ago
Your Answer
Related Questions
Can flash freeze motion at slow shutter speeds, and does it help with camera shake?
How can I tell if an image is blurred by camera shake when reviewing it on screen?
Can I change shutter speed on every frame of a film roll?
How can I create motion blur in daylight with a DSLR?
Why do my landscape photos look less vibrant in print, and how can I match the print better?