Modifying raw image data for experiments
OP
Horshack
•
Veteran Member
•
Posts: 9,769
Automated raw median image stacking
6
I have added automated median image stacking (source , documentation) to the repository. Here's how it works:
- Put all your raw files in a directory
- From the Octave console, run createMedianStackedDngs("source dir", "output dir")
Script does the following:
- Converts all raw images in "source dir" to uncompressed DNGs by spawning Adobe's DNG converter. Thanks to Jack for giving me the idea of using the DNG converter from the command-line.
- Scans all converted DNGs to automatically find related images to stack. Right now it considers images to be in the same stack if their EXIF creation time tags are within two seconds of each other.
- Reads the raw data from each collection of images for a detected sequence and calculates the median.
- Generates a new DNG with the calculated median by cloning the first image of the stack and overwriting its raw data with the calculated median. The resulting filename is equal to the first image of the stack with "_x_Stacked" appended to the name, where <x> is the number of images stacked to create the DNG.
- Loops back to step #2 to find the next related group of images to stack in "source dir".
Here is the sample output of an underexposed GX85 ISO 6400 9-image stack, comparing the stacked image to one of the constituent images making up the stack
Animated PNG (9MB) - GX85 ISO 6400 9-image median stack
Notes:
- This hasn't been tested under Matlab yet since I don't own a copy. Jack has generously offered his time to help fix any compatibility issues between my Octave scripts and Matlab.
- I haven't tested this under the Mac OS yet. I plan to within the next few days.
- Code is initial implementation - it can use some cleanup when I have the time.
|
Post
(hide subjects)
|
Posted by
|
When
|
|
|
|
|
Apr 5, 2021
|
12 |
|
|
|
Apr 5, 2021
|
1 |
|
|
|
Apr 5, 2021
|
1 |
|
|
|
Apr 7, 2021
|
|
|
|
|
Apr 9, 2021
|
|
|
|
|
Apr 9, 2021
|
3 |
|
|
|
Apr 9, 2021
|
1 |
|
|
|
Apr 11, 2021
|
4 |
|
|
|
Apr 13, 2021
|
6 |
|
|
|
Apr 20, 2021
|
1 |
|
|
|
Dec 12, 2022
|
6 |
|
|
|
Dec 12, 2022
|
2 |
|
|
|
11 months ago
|
2 |
Keyboard shortcuts:
FForum
PPrevious
NNext
WNext unread
UUpvote
SSubscribe
RReply
QQuote
BBookmark
MMy threads
Color scheme?
Blue /
Yellow
The Fujifilm X100VI is the sixth iteration of Fujifilm's classically-styled large sensor compact. A 40MP X-Trans sensor, in-body stabilization and 6.2K video are among the updates.
The Nikon Zf is a 24MP full-frame mirrorless camera with classic looks that brings significant improvements to Nikon's mid-price cameras. We just shot a sample reel to get a better feel for its video features and have added our impressions to the review.
This $250 electronic lens adapter is perfect for Nikon Z-mount curious Sony shooters — shhh, we won’t tell anyone.
Sony updates the ZV-1, giving the vlog-centric compact camera a 18-50mm equivalent F1.8-4.0 lens that's now wide enough for less cramped selfie mode videos.
OM Digital Solutions has updated its flagship high speed camera just two years after launch. The latest version includes more memory and some performance and handling tweaks.
If you want a compact camera that produces great quality photos without the hassle of changing lenses, there are plenty of choices available for every budget. Read on to find out which portable enthusiast compacts are our favorites.
What's the best camera for travel? Good travel cameras should be small, versatile, and offer good image quality. In this buying guide we've rounded-up several great cameras for travel and recommended the best.
'What's the best mirrorless camera?' We're glad you asked.
What’s the best camera for around $2000? This price point gives you access to some of the most all-round capable cameras available. Excellent image quality, powerful autofocus and great looking video are the least you can expect. We've picked the models that really stand out.
Above $2500 cameras tend to become increasingly specialized, making it difficult to select a 'best' option. We case our eye over the options costing more than $2500 but less than $4000, to find the best all-rounder.