The Concept(s) of Mosaic Image Processing. by Fabian Neyer



Similar documents
Creating the Ultimate Image: Introduction

PixInsight Steps to get your Galaxy Manfred Schwarz

COOKBOOK. for. Aristarchos Transient Spectrometer (ATS)

High Resolution Astrophotography AIC by Volker Wendel

Ultra-High Resolution Digital Mosaics

DSLR Astrophotography

WHITE PAPER. Are More Pixels Better? Resolution Does it Really Matter?

PREPARING PHOTOS for PRINTING

EPSON SCANNING TIPS AND TROUBLESHOOTING GUIDE Epson Perfection 3170 Scanner

ACE: Illustrator CC Exam Guide

White Paper. "See" what is important

Movie 11. Preparing images for print

Topographic Change Detection Using CloudCompare Version 1.0

Klaus Goelker. GIMP 2.8 for Photographers. Image Editing with Open Source Software. rocky

TerraColor White Paper

APPLICATION NOTE. Basler racer Migration Guide. Mechanics. Flexible Mount Concept. Housing

PHOTO RESIZING & QUALITY MAINTENANCE

Making High Dynamic Range (HDR) Panoramas with Hugin

High Resolution Planetary Imaging

Planetary Imaging Workshop Larry Owens

ONYX. Preflight Training. Navigation Workflow Issues Preflight Tabs

Lecture 12: Cameras and Geometry. CAP 5415 Fall 2010

Introduction to CCDs and CCD Data Calibration

Camera Resolution Explained

Open icon. The Select Layer To Add dialog opens. Click here to display

How To Process Data From A Casu.Com Computer System

Otis Photo Lab Inkjet Printing Demo

Introduction.

High Resolution Planetary Imaging Workflow

Advanced Image Management using the Mosaic Dataset

Microsoft Research WorldWide Telescope Multi-Channel Dome/Frustum Setup Guide

How To Fuse A Point Cloud With A Laser And Image Data From A Pointcloud

PHOTOGRAMMETRIC TECHNIQUES FOR MEASUREMENTS IN WOODWORKING INDUSTRY

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

Software-based three dimensional reconstructions and enhancements of focal depth in microphotographic images

Basler. Line Scan Cameras

The Scientific Data Mining Process

Creating a Planogram Database

RESOLUTION MERGE OF 1: SCALE AERIAL PHOTOGRAPHS WITH LANDSAT 7 ETM IMAGERY

PDF Created with deskpdf PDF Writer - Trial ::

AxioCam MR The All-round Camera for Biology, Medicine and Materials Analysis Digital Documentation in Microscopy

Using Image J to Measure the Brightness of Stars (Written by Do H. Kim)

The Dennis Technique for SketchUp Models in Photoshop

Create A Collage Of Warped Photos

How to Cheat On A Survey Don t Be A Victim

AS-M5630U Sony 32X Optical Zoom HD 2MP Network Security Camera Module

Digital image processing

MASKS & CHANNELS WORKING WITH MASKS AND CHANNELS

ARC 3D Webservice How to transform your images into 3D models. Maarten Vergauwen

Getting Started emacs.cshrc & :+/usr/local/classes/astr1030/astron/ source.cshrc cd /usr/local/classes/astr1030 idl .compile ccdlab2 ccdlab2 exit

Measuring large areas by white light interferometry at the nanopositioning and nanomeasuring machine (NPMM)

Lecture 16: A Camera s Image Processing Pipeline Part 1. Kayvon Fatahalian CMU : Graphics and Imaging Architectures (Fall 2011)

How to Prepare Images for Electronic Presentation * by Thomas Field (rev )

MGL Avionics. MapMaker 2. User guide

Lacerta MGEN Quick Start Guide

Introduction to Imagery and Raster Data in ArcGIS

Tips on Photography What Kind of Images? Photos and more Uses - A good picture speaks 1,000 words

Automotive Applications of 3D Laser Scanning Introduction

How To Make An Orthophoto

Study of the Human Eye Working Principle: An impressive high angular resolution system with simple array detectors

Alpy guiding User Guide. Olivier Thizy François Cochard

Digital Image Requirements for New Online US Visa Application

Archiving Your Photo Collection I

Visualization of 2D Domains

CS1112 Spring 2014 Project 4. Objectives. 3 Pixelation for Identity Protection. due Thursday, 3/27, at 11pm

Galaxy Morphological Classification

Graphic Design. Background: The part of an artwork that appears to be farthest from the viewer, or in the distance of the scene.

EVIDENCE PHOTOGRAPHY TEST SPECIFICATIONS MODULE 1: CAMERA SYSTEMS & LIGHT THEORY (37)

16 th IOCCG Committee annual meeting. Plymouth, UK February mission: Present status and near future

VIRGINIA WESTERN COMMUNITY COLLEGE

Choosing a digital camera for your microscope John C. Russ, Materials Science and Engineering Dept., North Carolina State Univ.

ACE: After Effects CC

Lession: 2 Animation Tool: Synfig Card or Page based Icon and Event based Time based Pencil: Synfig Studio: Getting Started: Toolbox Canvas Panels

Mosaicking and Subsetting Images

Multispectral stereo acquisition using 2 RGB cameras and color filters: color and disparity accuracy

A Proposal for OpenEXR Color Management

Automatic Labeling of Lane Markings for Autonomous Vehicles

The patch tool and content-aware filling

product overview pco.edge family the most versatile scmos camera portfolio on the market pioneer in scmos image sensor technology

Course Project Lab 3 - Creating a Logo (Illustrator)

Computer Vision: Machine Vision Filters. Computer Vision. Optical Filters. 25 August 2014

Step-by-Step guide for IMAGINE UAV workflow

ZEISS Axiocam 506 color Your Microscope Camera for Imaging of Large Sample Areas Fast, in True Color, and High Resolution

Video stabilization for high resolution images reconstruction

Woody s How To: MallinCam MFR-5 Focal-Reducer

Contents OVERVIEW WORKFLOW PROBLEM. SOLUTION. FEATURE. BENEFIT 4 5 EASY STEPS TO CALIBRATE YOUR LENSES 5

Computer Vision. Image acquisition. 25 August Copyright by NHL Hogeschool and Van de Loosdrecht Machine Vision BV All rights reserved

A. OPENING POINT CLOUDS. (Notepad++ Text editor) (Cloud Compare Point cloud and mesh editor) (MeshLab Point cloud and mesh editor)

From Pixel to Info-Cloud News at Leica Geosystems JACIE Denver, 31 March 2011 Ruedi Wagner Hexagon Geosystems, Geospatial Solutions Division.

Canon 10D digital camera

E70 Rear-view Camera (RFK)

ROBUST COLOR JOINT MULTI-FRAME DEMOSAICING AND SUPER- RESOLUTION ALGORITHM

A Rough Guide to Autoguiding a Goto Mount.

Understanding Line Scan Camera Applications

Transcription:

The Concept(s) of Mosaic Image Processing by Fabian Neyer NEAIC 2012 April 27, 2012 Suffern, NY

My Background 2003, ST8, AP130 2005, EOS 300D, Borg101 2 2006, mod. EOS20D, Borg101

2010/11, STL11k, Borg101 3

My Background 2003, ST8, AP130 2004, EOS300D, Borg101 4 2006, mod. EOS20D, Borg101

2010/11, STL11k, Borg101 5

Why a Mosaic Image?

8

Mosaic Imaging Why a Mosaic Image > One way to get high resolution > High quality print-outs > Increase your field of view > Get rid of tracking errors > Challenging? New adventure? 9

Mosaic Imaging Requirements > Know your target for accurate planning and execution G156.2+5.7 Christopher L. Gerardy & Robert A. Fesen Royal Astronomical Society, 2007 10

Mosaic Imaging Requirements > Define (1) Orientation, (2) central Coordinates, (3) Guidestars 3 2 1 3 Have a look here: http://www.robgendlerastropics.com/compositions.html 11

Mosaic Imaging How many images to take > Number of light frames: - Sky quality - Optical speed - Camera sensitivity - Target image depth 12

Canon DSLR at f4.0: approx. 7 hours

STL11000M at f5.7: approx. 23 hours

Mosaic Imaging How many images to take > Number of light frames: - Sky quality - Optical speed - Camera sensitivity - Target image depth > As many flats and darks as lights > About 40 Bias frames Example: 4-frame LRGB mosaic, 16 light frames per channel and FOV Lights: 4x4x16 = 256 Total: 600-800 15

Image Alignment 16

Alignment Merging concepts Most accurate OR fastest way to build a mosaic? Two concepts: (1) Build each mosaic part separately merging afterwards multiple image interpolations (2) Use a Global Reference Image (GRI) image alignment to GRI stack each part as usual direct merging, i.e. without another interpolation 17

Alignment Concept 1 Each mosaic part separately > What most people do most intuitive? > For every mosaic part: Chose a local reference image and do alignment Stack each channel with appropriate rejection routine > e.g. 4-frame LRGB mosaic 4x4 image stacks > Remove Gradients and/or flatfield calibration errors Critical step to obtain good mosaics Spend enough time here 18

Alignment Concept 1 Correct Gradient & Illumination errors Gradients due to light pollution, errors in flat field correction, 19

Alignment Concept 1 Correct Gradient & Illumination errors > PIXINSIGHT is very efficient > Play with different sample positions and model configuration > Always check background model 20

Alignment Concept 1 Correct Gradient & Illumination errors Something we can work with 21

Alignment Concept 1 Merge mosaic parts > Create a mosaic by aligning components stepwise such that it minimizes possible distortion errors f.e. 3x3 mosaic 22

Alignment Concept 1 Merge mosaic parts > Create a mosaic by aligning components stepwise such that it minimizes possible distortion errors f.e. 3x3 mosaic 23

Alignment Concept 1 Create Sub-mosaic images Use StarAlignment 24

Alignment Concept 1 Create total mosaic > Overlap is very small Frame Adaption based on very small region > Still some errors in the background model? 25

Alignment Concept 1 Create total mosaic Using a slightly different Background Model Could be further improved 26

Alignment Concept 1 Create total mosaic > Use created mosaic to again align all parts Use Separate mode to save mosaic parts individually As reference: mosaic image with seams e.g. bottom left mosaic part 27

Alignment Concept 1 Seamless Mosaic Transitions with PIXINSIGHT GradientMergeMosaic Tool > Load separately aligned mosaic parts from previous step > Play around with Shrink and Feather radius 28

Alignment Concept 1 Seamless Mosaic Transitions with PIXINSIGHT 30

Alignment Concept 2 What image alignment means = abs(image1 Image2) Image1 = original Image2 = 2 x Lanczos-3 interpolation Every pixel interpolation produces noise! Keep the number of image interpolations as low as possible! 31

Alignment Concept 2 Other Concept: Use a Global Reference Image My definition: Global Reference Image: An image that provides the information of star locations over the entire field of a mosaic > One image alignment, hence one interpolation > Possibility to create flat images > A step closer to be accurate 32

Alignment Concept 2 The Reference Image > What makes it non-trivial: Field Distortion symmetric lens distortion e.g. one side sensor tip complicated mixture 33

Alignment Concept 2 Different types of Reference Images (1) Sky-chart, other (low resolution) wide-field image + very easy to produce - does not correct field distortion (may make it even worse) - usually not accurate enough (2) Star reference catalogue + easily available nowadays + perfectly corrects distortion - not every software can handle this (3) Subset of own images + no other data needed + straight forward approach + suitable for very big mosaics (FOV) - problem of field distortions remains 34

Alignment Concept 2 Star Reference Catalogue PIXINSIGHT Generate your starfield: > Enter center position of FOV, Date of image capture (Epoch) > Use Gnomic projection > Insert your focal length, pixel size, and the approximate width/height of your mosaic in terms of image pixels Chose Sensor width and Sensor height such that all parts of your mosaic are completely within the star field created by StarGenerator Orientation does not matter at the moment 35

Alignment Concept 2 Exact framing of the starfield Align one image of each FOV to starfield Use StarAlignments default values except: 2-D Surface Splines for Registration model Bottom part of mosaic Top part of mosaic 37

Alignment Concept 2 Exact framing of starfield One image of each part of the mosaic is aligned: Top part of mosaic Bottom part overlaid as mask DynamicCrop preview For larger mosaics: Combine aligned frames using GradientMergeMosaic or PixelMath 38

Alignment Concept 2 Exact framing of starfield Global Reference image! 39

Alignment Concept 2 Aligning this dataset with PIXINSIGHT > Limitation: Ability to correct field distortion Overlapping zone will not always match accurately Left corner: Inaccurate Right corner: accurate > PixInsight is not yet ready to deal with any kind of distortion 40

Alignment Concept 2 Can we solve this? > Use software which can deal with such distortions REGISTAR > REGISTAR has limitations: - No 32bit support - Stores absolute translation in separate *.rsm files - Interpolation algorithm not today s state-of-the-art > Although outdated, REGISTAR still provides the most accurate solution for registering distorted images (at least until 27.04.2012) UPDATE: PixInsight now corrects for all distortions too! 41

Alignment Concept 2 A Reference Image for REGISTAR > Use Star Catalogue starfield as Reference Image + Easy and fast construction + No distortion - May suffer from bad star coverage - Increased degree of freedom in alignment Badly bounded Possible error source Star nearby No Star nearby 42

Alignment Concept 2 A Reference Image for REGISTAR > Use Star Catalogue starfield as Reference Image > Enhance using subset of your mosaic frames Not always necessary May fill gabs in star catalogue starfield Helps to make alignment more robust with REGISTAR QD = Quick & Dirty 43

Alignment Concept 2 A Reference Image for REGISTAR > Use Star Catalogue starfield as Reference Image > Enhance using subset of your mosaic frames Use highest quality frames (no satellite trails, etc ) Roughly remove gradients (Dynamic Background Extraction) Save in 16 bit (although it hurts a bit ) 44

Alignment Concept 2 A Reference Image for REGISTAR > Use Star Catalogue starfield as Reference Image > Enhance using subset of your mosaic frames Use highest quality frames (no satellite trails, etc ) Roughly remove gradients (Dynamic Background Extraction With REGISTAR align these to the starfield (Star Catalogue) Merge aligned images This is your enhanced Reference Image How to merge mosaic parts from REGISTAR? 45

Alignment Concept 2 extend canvas Merge aligned mosaic parts > With PHOTOSHOP Mosaic parts as layers Gradient tool Use Move tool to place top part into correct position Compensate what is written in REGISTAR s *.rsm files Gradient mask in overlapping region 46

Alignment Concept 2 Merge aligned mosaic parts > With PIXINSIGHT We have to find relative translation first Check Frame adaption to correct for offset and scale differences What you have do manually in PS Nearest Neighbor: No image interpolation! 47

Alignment Concept 2 Merge aligned mosaic parts > GradientMergeMosaic Tool for seamless transitions the same result as in PS easier? different procedure! 48

Alignment Concept 2 Advantage of including REGISTAR Left corner Right corner PixInsight PixInsight & Registar 49

Alignment Concept 2 Worth the effort? > Remember: Result obtained with only one interpolation > Arguments: - PIXINSIGHT uses a better interpolation routine than REGISTAR - Two (or more) image interpolations not too much? - Switch between 32bit and 16bit files? - Better stick with one single software? - Does PIXINSIGHT fully correct field distortion? - Perfect star match over entire FOV? It s up to you! 50

Alignment Concept 2 Other software? > THELI = package for the automated reduction of astronomical imaging data - Developed at University Bonn, Mischa Schirmer et al. - Powerful software tool running on LINUX - Freeware! - Trial and Error in the beginning - Uses various online star reference catalogues - Easy color calibration once the image is referenced 51

Stacking 52

Stacking ImageIntegration Settings > Check what maximum SNR increase is possible Combination method Average No Pixel rejection is applied at this stage! Console output: 53

Stacking ImageIntegration Settings The result: 54

Stacking Remove outliers > Choose appropriate rejection algorithm Rule of thumb: # images Rejection algorithm - Min/Max 3-6 Percentile Clipping 5-10 Averaged Sigma Clipping >10 Sigma Clipping >10 Winsorized Sigma Clipping >18 Linear Fit Clipping - CCD Noise Model 55

Stacking Remove outliers > Start at high Pixel Rejection tolerance High tolerance values are closer to the result obtained with simple averaging The smaller the rejection tolerance value, the lower the SNR > Iteratively lower the rejection tolerance value > Check integrated image and rejection maps 56

Stacking Adjust lower rejection tolerance Average Δσ = 3.7947 Low T: 8 Δσ = 3.5713 Low T: 6 Δσ = 3.5689 Median Δσ = 2.9327 Low T: 5 Δσ = 3.5656 Low T: 4 Δσ = 3.5494 57

Stacking Adjust upper rejection tolerance Average Δσ = 3.7947 High T: 7 Δσ = 3.5691 High T: 6 Δσ = 3.5727 Median Δσ = 2.9327 High T: 5 Δσ = 3.5727 High T: 4 Δσ = 3.5624 58

Color Calibration 59

Color Calibration What method? > A number of color calibration method exists B-V calibration (e.g. with excalibrator using Aladin, THELI) G2V calibration (not recommended) Maximizing available information, i.e. white is not defined by a specific spectral type (PIXINSIGHT) > Actually color calibration is a philosophy > What s important: Do it at the right stage of image processing 60

Color Calibration When to apply color calibration > Your images must be in the linear stage > Doing mosaics: For each filtered image stack, mosaic parts must linearly match > In PIXINSIGHT > In PHOTOSHOP..not available.. 61

Color Calibration Workflow summary (1) Image Calibration Align each mosaic part separately Aligning Concept 1 for each channel Align and linearly adjust mosaic parts Stack aligned images for each mosaic part Combine RGB Merge total mosaics Color Calibration Combine RGB Align mosaic parts Color Calibration for total mosaic Merge total mosaic 62

Color Calibration Workflow summary (2) Optimal case if REGISTAR is not needed All in PIXINSIGHT for each channel Linearly adjust mosaic parts Image Calibration Build Global Reference Image Align all images to GRI Stack aligned images Possible method without PIXINSIGHT Aligning Concept 2 for each mosaic part Combine RGB Merge total mosaics Color calibration Combine RGB Merge mosaic parts Color Calibration for total mosaic 63

Color Calibration Final ingredients > Experiment with different software packages > Think about the consequences of possible methods > Choose one you like the most > Do not hurry in post-processing What s most important: Processing your data should be fun! 64

Thank you!

List of useful Links Planning Compositions and Finding Guidestars http://www.robgendlerastropics.com/compositions.html PTLens (corrects distortion/vignetting, of camera lenses) http://epaperpress.com/ptlens PIXINSIGHT forum (very active and a great resource to get help) http://pixinsight.com/forum THELI, free software package running on LINUX http://astro.uni-bonn.de/~theli/gui/download.html Personal Homepage http://www.starpointing.com 66