Processing Time Lapse Astro Images with RawTherapee

Similar documents
Editing your digital images:

Camera Image Processing Pipeline: Part II

MY ASTROPHOTOGRAPHY WORKFLOW Scott J. Davis June 21, 2012

HIGH DYNAMIC RANGE IMAGING Nancy Clements Beasley, March 22, 2011

Camera Image Processing Pipeline: Part II

Capturing Realistic HDR Images. Dave Curtin Nassau County Camera Club February 24 th, 2016

Camera Image Processing Pipeline

These project cannot be made up after the due date. (Each exercise is worth 25 points)

Part One Beginners Guide

Processing RAW files in ACR Roy Killen, APSEM, EFIAP, GMPSA

Two Basic Digital Camera Types ( ) ( )

What is a Raw file? How a RAW file differs from a JPEG

Machinery HDR Effects 3

Lightroom CC. Welcome to Joshua Tree Workshops. Astro & Landscape Lightroom Workflow w/presets

Digital photography , , Computational Photography Fall 2017, Lecture 2

Dynamic Range. H. David Stein

Each camera manufacturer has their own RAW file extension, but all are handled the same way through Photoshop and Lightroom.

Converting and editing raw images

CONVERTING AND EDITING RAW IMAGES

How to capture the best HDR shots.

Digital imaging urban legends debunked

Digital Imaging with the Nikon D1X and D100 cameras. A tutorial with Simon Stafford

Digital Cameras. Consumer and Prosumer

Software & Computers DxO Optics Pro 5.3; Raw Converter & Image Enhancer With Auto Or Manual Transmission By Howard Millard March, 2009

Canon Log Instruction Manual

VSCO FILM 01 MANUAL FOR: LIGHTROOM 4 & ADOBE CAMERA RAW 7

A CAMERA IS A LIGHT TIGHT BOX

Introduction to Digital Photography

Photomatix Light 1.0 User Manual

Introduction to HDR Photography with Brian McPhee

Movie 3. Basic Camera Raw workflow

HDR ~ The Possibilities

Presenting... PhotoShop Elements 7 (PSE7) Photoshop LightRoom 2.3 (LR2) and High Dynamic Range Photography

Basics of Photographing Star Trails

The A6000 is one of Sony's best selling mirrorless cameras, even with its successor

Movie 7. Merge to HDR Pro

Aperture. The lens opening that allows more, or less light onto the sensor formed by a diaphragm inside the actual lens.

Using raw files from digital cameras


Digital photography , , Computational Photography Fall 2018, Lecture 2

SHAW ACADEMY NOTES. Ultimate Photography Program

Chapter 2-Digital Components

Learning Outcomes In this lesson, you will learn about the file formats in Adobe Photoshop. By familiarizing

It makes sense to read this section first if new to Silkypix... How to Handle SILKYPIX Perfectly Silkypix Pro PDF Contents Page Index

Step 1: taking the perfect shot

Resolution, DPI NOTICE WE HAVE NOT YET EVEN DOUBLED LINEAR RESOLUTION, DESPITE ALMOST QUADRUPLING THE MEGAPIXELS. Don t get caught up with resolution

HDR is a process for increasing the range of tonal values beyond what a single frame (either film or digital) can produce.

Introduction to 2-D Copy Work

Twelve Steps to Improve Your Digital Photographs Stephen Johnson

The Raw Deal Raw VS. JPG

>--- UnSorted Tag Reference [ExifTool -a -m -u -G -sort ] ExifTool Ver: 10.07

ONE OF THE MOST IMPORTANT SETTINGS ON YOUR CAMERA!

DIGITAL IMAGING FOUNDATIONS

A RAW Development Workflow

You might be asking some of these ques3ons are it relates to digital photography and controlling quality star3ng with your camera.

What s New in Capture NX

THE DIFFERENCE MAKER COMPARISON GUIDE

Intro to Digital SLR and ILC Photography Week 1 The Camera Body

PHOTOGRAPHY: MINI-SYMPOSIUM

Photo Editing Workflow

RAWHide Alpha Release Documentation

Photoshop and Lightroom for Photographers

Digital Photography Standards

Portraiture Creating and Editing. Aaron Taylor Aaron Taylor Photography LLC

Local Adjustment Tools

HISTOGRAMS. These notes are a basic introduction to using histograms to guide image capture and image processing.

High Dynamic Range (HDR) Photography in Photoshop CS2

S&E Media. How will the images primarily be used? - Public - Research - Both -

HDR Show & Tell Image / Workflow Review Session. Dave Curtin Nassau County Camera Club October 3 rd, 2016

Contents Foreword 1 Feedback 2 Legal information 3 Getting started 4 Installing the correct Capture One version 4 Changing the version type 5 Getting

Digital Negative. What is Digital Negative? What is linear DNG? Version 1.0. Created by Cypress Innovations 2012

Lightroom Classic CC and Lightroom CC Updates

1 / 9

Pacific New Media David Ulrich

V S C O F I L M M A N UA L

A quick overview of the basics of my workflow in. Those gaps in Photoshop s Histogram indicate missing information.

(RGB images only) Ctrl-click (Windows) or Command-click (Mac OS) a pixel in the image.

Digital photo sizes and file formats

Setting Up Your Camera Overview

Topaz Labs DeNoise 3 Review By Dennis Goulet. The Problem

HDR Darkroom 2 User Manual

Camera Raw software is included as a plug-in with Adobe Photoshop and also adds some functions to Adobe Bridge.

CS 89.15/189.5, Fall 2015 ASPECTS OF DIGITAL PHOTOGRAPHY COMPUTATIONAL. Image Processing Basics. Wojciech Jarosz

Histograms and Tone Curves

Film Cameras Digital SLR Cameras Point and Shoot Bridge Compact Mirror less

INTRODUCTION TO COMPUTER GRAPHICS

Professional RAW Editor for ios and icloud Photo Library (v2.0)

by Don Dement DPCA 3 Dec 2012

Using The Nik Collection Plug-ins In Lightroom And Photoshop. Dan Lenardon

Monmouth Camera Club

Sony PXW-FS7 Guide. October 2016 v4

Canon 5d Mark Ii User Manual Video Exposure

Using Adobe Photoshop to enhance the image quality. Assistant course web site:

Bristol Photographic Society Introduction to Digital Imaging

Photomatix Pro 3.1 User Manual

Smart Phones in Photography

Windows INSTRUCTION MANUAL

Realistic HDR Histograms Camera Raw

OBJECT PHOTOGRAPHY. iskills Workshop October 12, :30 6:30pm

WebHDR. 5th International Radiance Scientific Workshop September 2006 De Montfort University Leicester

Transcription:

Processing Time Lapse Astro Images with RawTherapee Axel Mellinger Department of Physics Central Michigan University & Sunset Astronomical Society June 10, 2016 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 1 / 24 1/24

Outline 1 Introduction: RAW vs. JPEG 2 How Color is Recorded: Bayer Filter and Gamma 3 Recording Twilight Time-Lapse Videos 4 RawTherapee Demo 5 Exposure Value Smoothing and Video Processing Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 2 / 24 2/24

Introduction: RAW vs. JPEG JPEG (or JPG): A lossy compression format Nearly universal format for digital cameras Uses lossy compression (i. e. throws away image information) Reasonably small file sizes Example: Canon T2i (18 Megapixels): 5184 3456 2.5 4 MB (depending on quality settings) each color (red, green, blue) is represented by an 8-bit number 2 8 = } 2 2 {{... 2} = 256 numbers (from 0... 255) 8 factors total number of colors: 256 256 256 = 16,777,216 Now, this sounds like a huge number... but it can still be too small in certain situations (more later... ) Non-linear (doubling the light intensity does not double the brightness value in the JPEG file) Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 4 / 24 4/24

Introduction: RAW vs. JPEG Raw Format: Whatever the Camera Manufacturer Decides... Manufacturer- and camera-specific Canon:.cr2 Nikon:.nef Sony:.arw,.srf,.sr2 Often lossless compression Much larger file sizes. Example: Canon T2i (18 Megapixels): 5184 3456 20 30 MB Canon: each color (red, green, blue) is represented by a 14-bit number 2 14 = } 2 2 {{... 2} = 16,384 numbers 14 factors linear image format (doubling the light intensity doubling of the brightness value) But wait, there is more... Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 5 / 24 5/24

How Color is Recorded Bayer Filter Named after its inventor, Bryce Bayer of Eastman Kodak. Camera sensors are black and white only! For color images: Take 3 separate images through red, green and blue filters or Take single image through Bayer filter pattern Source: Wikipedia Twice as many green elements as red or blue to mimic the physiology of the human eye. Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 7 / 24 7/24

Photograph Through a Bayer Filter Original image Image credit: Anita Martinz / Wikipedia 8/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 8 / 24

Photograph Through a Bayer Filter Recorded by sensor Image credit: Anita Martinz / Wikipedia Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 8 / 24 8/24

Photograph Through a Bayer Filter Recorded by sensor (color coded for clarity) Image credit: Anita Martinz / Wikipedia Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 8 / 24 8/24

Photograph Through a Bayer Filter Recorded by sensor (this is what gets stored in a Raw file!) Image credit: Anita Martinz / Wikipedia 8/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 8 / 24

Demosaicing = De-Bayering Many algorithms See, e.g. Gunturk et al., IEEE Signal Processing Magazine 44, Jan. 2005 Problem areas: edges, repeated patterns Camera manufacturers use their own, proprietary algorithms Commercial software: Adobe Lightroom, Photoshop,... Free/open-source software: dcraw, RawTherapee, DarkTable,... Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 9 / 24 9/24

Gamma Correction From Raw to JPEG A long time ago... there were CRT monitors: brightness (voltage) 2.2... which needed a gamma-corrected signal 1 (max) 1 (max) monitor brightness linear JPEG RGB 0 0 1 (max) electric input signal 0 0 1 (max) linear brightness (Raw) Also convenient for compressing 0... 16384 into 0... 255 range 10/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 10 / 24

Raw to JPEG Conversion To-do list De-mosaicing Gamma correction... and additionally: White balance Exposure correction Tone mapping Noise suppression Sharpening... 11/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 11 / 24

Twilight Time-Lapse Videos Challenge: extreme changes in ambient lighting Equipment: Canon 6D with Rokinon 2.8/14 mm lens and Magic Lantern, motorized slider 900 images, 6 s intervall, spanning 90 minutes Exposure values: Start End Exposure time 1/60 s 5 s ISO 100 12,800 f-stop 2.8 2.8 ( ) ( ) 5 s 12 800 Decrease in lighting by factor = 38 400 1/60 s 100 13/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 13 / 24

Auto- Expose-to-the-Right (ETTR) Magic Lantern Feature: Push histogram to the right Idea: Maximize the amount of light on the sensor without causing saturation Maximize exposure time (up to a pre-set limit) Use the smallest ISO possible (to reduce noise) First, increase exposure time from 1/60 s to 5 s as twilight progresses Then, increase ISO from 100 to 12 800 Save images in Raw format 14/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 14 / 24

Basic Image Processing with RawTherapee Download: http://rawtherapee.com, available for Linux, Windows, Mac First Steps Exposure Correction (much easier in Raw!) White Balance (4800 K works well for most night shots) Noise Control Vignetting Correction (flat field optional) Lens Geometry Correction Sidecar Files RawTherapee works non-destructively Processing operations are written to a plain-text.pp3 file Next time the Raw image is loaded into RawTherapee, all settings specified in the.pp3 file are applied 16/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 16 / 24

RawTherapee 17/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 17 / 24

Basic Image Processing with RawTherapee Download: http://rawtherapee.com, available for Linux, Windows, Mac First Steps Exposure Correction (much easier in Raw!) White Balance (4800 K works well for most night shots) Noise Control Vignetting Correction (flat field optional) Lens Geometry Correction Sidecar Files RawTherapee works non-destructively Processing operations are written to a plain-text.pp3 file Next time the Raw image is loaded into RawTherapee, all settings specified in the.pp3 file are applied 18/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 18 / 24

Exposure Value Smoothing Exposure Value (ISO-corrected) EV = log 2 ( N 2 t 100 ) N... f-stop number t... exposure time (seconds) ISO ISO... ISO setting Examples: ( 2.8 2 f/2.8, 1/60 s, ISO 100: EV = log 2 1/60 s 100 ) = 8.91 9 ( 100 2.8 2 f/2.8, 5 s, ISO 100: EV = log 2 5 100 ) = 6.32 12 800 Larger EV brighter scene If EV increases by 1: light intensity doubles EV drops by (8.91 ( 6.32)) = 15.23 Test: 2 15.23 = 38 400 20/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 20 / 24

Exposure Value Smoothing Plot of EV vs. Time For each image: EV calculated from EXIF data (EXIF: exchangeable image file format; standard for including f-stop, ISO, etc. in JPEG or Raw image file) ExifTool demo But wait... there are steps in this plot! smoothing spline curve exposure value 8 6 4 2 0-2 -4-6 -8 0 100 200 300 400 500 600 700 800 900 1000 image number uncorrected EVs smoothed curve For each image, an individual.pp3 file is written. 21/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 21 / 24

From Raw Files to Video Automatic Raw JPEG/PNG conversion in RawTherapee After all.pp3 files have been generated: Launch RawTherapee Select images, send to queue Click Start processing, come back in a few hours... De-flickering Tools for video de-flickering: timelapse-deflicker: https://github.com/cyberang3l/timelapse-deflicker VirtualDub (www.virtualdub.org) with MSU deflicker filter Video Assembly (JPEG/PNG MP4) ffmpeg -f image2 -r 24 -start number 7040 -i IMG %04d.jpg -vcodec libx264 -s 2400x1600 -crf 18 out.mp4 Your favorite video editing program 22/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 22 / 24

Summary Image Recording Wide angle lens (Rokinon 14 mm f/2.8) Camera in Auto ETTR mode (Magic Lantern), Color Temp. 4800 K Exposure time 1/60 s 5 s, ISO 100 12 800 Save images in Raw (.CR2) format Image Processing Read exposure time & ISO from EXIF data Calculate and smooth exposure values Write EV correction to.pp3 files Run RawTherapee batch queue 23/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 23 / 24

Outlook 24/24 Axel Mellinger (Physics, CMU) Time Lapse Astro Image Processing June 10, 2016 24 / 24