MPRemap v.0.2a Remap From and To Motion Pictures

Similar documents
Adding Depth. Introduction. PTViewer3D. Helmut Dersch. May 20, 2016

Creating a Panorama Photograph Using Photoshop Elements

How to combine images in Photoshop

Advanced Diploma in. Photoshop. Summary Notes

PandroidWiz and Presets

Hardware. «My Computer» located on either your desktop or in the Start Menu; You should see «Removeable Disk (E:)» under

Panoramic imaging. Ixyzϕθλt. 45 degrees FOV (normal view)

Photoshop Elements Hints by Steve Miller

Basic image edits with GIMP: Getting photos ready for competition requirements Dirk Pons, New Zealand

Introduction... 1 Part I: Fast Track to Super Snaps Part II: Taking Creative Control Part III: After the Shot

Stitching panorama photographs with Hugin software Dirk Pons, New Zealand

A short introduction to panoramic images

Digital Design and Communication Teaching (DiDACT) University of Sheffield Department of Landscape. Adobe Photoshop CS4 INTRODUCTION WORKSHOPS

Next Back Save Project Save Project Save your Story

Creating Stitched Panoramas

Introduction. Let s get started...

Table of Contents. 1 Autopano Pro - Installation and registration INSTALLATION REGISTRATION...1

All projected images must be visible from the camera point of view. The content exists in 2D - an "unwrapped" view of the content in the aspect ratio

Panoramas. Featuring ROD PLANCK. Rod Planck DECEMBER 29, 2017 ADVANCED

The student will: download an image from the Internet; and use Photoshop to straighten, crop, enhance, and resize a digital image.

Adobe Photoshop. Levels

Movie 10 (Chapter 17 extract) Photomerge

The Panorama Factory Batch Processing Module User's Guide

Beacon Island Report / Notes

In this tutorial you will use Photo Story 3, a free software program from Microsoft, to create digital stories using text, graphics and music.

CSC 170 Introduction to Computers and Their Applications. Lecture #3 Digital Graphics and Video Basics. Bitmap Basics

1 ImageBrowser Software User Guide 5.1

WORKFLOW GUIDE. Trimble TX8 3D Laser Scanner Camera and Nodal Ninja R1w/RD5 Bracket Kit

Camera & Photos Apps ios10

High resolution photography of Alcator C-Mod to develop compelling composite photos. R.T. Mumgaard., C. Bolin* October, 2013

Presented by Craig Stocks Arts by Craig Stocks Arts

Table of Contents 1. Image processing Measurements System Tools...10

Reconstructing Virtual Rooms from Panoramic Images

Canon 5d Mark Ii How To Change Aperture In Manual Mode >>>CLICK HERE<<<

PhotoFiltre DEPARTMENT OF EDUCATION

Specification of Tiling Builder. by X.Z. Li

The upper rail is adjusted so that the gold ring is vertically in line with the axis of rotation as shown in the image below.

Add items to an existing album. While viewing photo thumbnails, tap Select, select items, tap Add To, then select the album.

Module 1 Lighting. Lesson 1 Light, Your First Decision. What s the first thing you should think about when choosing a location?

Legal Tech Issue of New York Law Journal August, 1996 Virtual Reality Comes of Age in The Courtroom

In the following sections, if you are using a Mac, then in the instructions below, replace the words Ctrl Key with the Command (Cmd) Key.

Manfrotto 303plus QTVR Pano Head

User s handbook Last updated in December 2017

Resizing Images for Competition Entry

The original image. Let s get started! The final result.

Introduction to: Microsoft Photo Story 3. for Windows. Brevard County, Florida

Imaging Features Available in HTML5. it just makes sense

How to Vignette. Introduction. Written by Jonathan Sachs Copyright Digital Light & Color

1. Any wide view of a physical space. a. Panorama c. Landscape e. Panning b. Grayscale d. Aperture

Photoshop Elements 3 Panoramas

v Introduction Images Import images in a variety of formats and register the images to a coordinate projection WMS Tutorials Time minutes

Appendix 8.2 Information to be Read in Conjunction with Visualisations

Image stitching. Image stitching. Video summarization. Applications of image stitching. Stitching = alignment + blending. geometrical registration

Chapter 7- Lighting & Cameras

SDC. SolidWorks Tutorial 2001Plus. A Competency Project Based Approach Utilizing 3D Solid Modeling. David C. Planchard & Marie P.

Technical information about PhoToPlan

Stitching distortion-free mosaic images for QWA using PTGui. Georg von Arx

Robert Mark and Evelyn Billo

Appendix A ACE exam objectives map

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

Image Processing & Projective geometry

Instruction Manual. Roundshot VR Drive / Roundshot VR Drive s Software release: version 4.0 (January 2010)

Recording your Voice Tutorials 3 - Basic Uses of Audacity Wayne B. Dickerson

Which equipment is necessary? How is the panorama created?

ALPHASTUDIO COMPACT ADVANCED PHOTO STUDIO FOR AUTOMATED PRODUCT PHOTOGRAPHY FOR MEDIUM- TO LARGE-SIZED OBJECTS

Prezi : Software redefining how Presentations are created.

Insight VCS: Maya User s Guide

inphoto ID Canon camera control software Automatic ID photography User Guide

How to Avoid Landmines: Managing your Motion Graphics Projects

PUZZLE EFFECTS 3D User guide JIGSAW PUZZLES 3D. Photoshop CC actions. User Guide

TOPAZ LENS EFFECTS QUICK START GUIDE

Adobe Photoshop CC 2018 Tutorial

AutoCAD Tutorial First Level. 2D Fundamentals. Randy H. Shih SDC. Better Textbooks. Lower Prices.

EOS Utility Ver. 3.0

Apple Photos Quick Start Guide

Appendix C: User manual for performing image analysis in experiment of monitoring E-coli growth. ImageJ user manual

Quick Start Training Guide

PanaVue ImageAssembler Documentation

KNOW YOUR CAMERA LEARNING ACTIVITY - WEEK 9

Aimetis Outdoor Object Tracker. 2.0 User Guide

Operating Rausch ScanCam within POSM.

Creating a Frame by Frame Animation for PhotoStory

TOON BOOM HARMONY Advanced Edition - Compositing and Effects Guide (Server)

PanoramaStudio 1.6. Manual

Photoshop Elements. Lecturer: Ivan Renesto. Course description and objectives. Audience. Prerequisites. Duration

How to Draw a New York Beauty Block

DopplerPSK Quick-Start Guide for v0.10

Photo One Digital Photo Shoots and Edits

You can easily print images using the Capture NX print function. Here we will explain the process for printing

SURREALISM IN PHOTOSHOP

2020 DRAWBOT INSTALLATION AND USE. Robert Ashford Henry Arnold 4-H OABB

Index. Symbols. 4K option for motion picture recording

Abstract. 1. Introduction and Motivation. 3. Methods. 2. Related Work Omni Directional Stereo Imaging

Capture NX-D Reference Manual for Version 1.4.0

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

Photoshop CS6 automatically places a crop box and handles around the image. Click and drag the handles to resize the crop box.

ROTATING SYSTEM T-12, T-20, T-50, T- 150 USER MANUAL

inphoto ID PS Automatic ID photography With Canon PowerShot camera User Guide

Be aware that there is no universal notation for the various quantities.

You can download the program from this page but note that it requires Microsoft Visual C++ for Visual Studio 2013.

Transcription:

MPRemap v.0.2a Remap From and To Motion Pictures Helmut Dersch derfh-furtwangen.de December 9, 2007 Summary With MPRemap motion pictures can be remapped from and to almost any geometric projection, or created from static panoramic images. Images made with fisheye lenses can be rectified to wide-angle rectilinear or cylindrical formats. Arbitrary partial views can be extracted from wide angle images. Lens distortion corrections and perspective changes can be accomplished. Any transformation supported by the underlying Panorama-Tools-library may be applied. Transformations use either global, constant parameters, or per-frame specifications. The latter method allows the user to generate virtual moving camera positons (pan, tilt and zoom) from static source material. An optional motion blur feature leads to realistic images for fast movements. See the examplessection of this manual for tutorials. A few examples can be viewed at my website www.fh-furtwangen.de/ dersch. MPRemap is distributed as binary for the Windows operating system. Binaries for Linux and other Unix-like operating-systems can be created using the supplied sources. MPRemap is distributed under the terms of the GNU General Public License. 1 Installation Version 0.2a of MPRemap consists of a Java-program which serves as a frontend and user-interface to the underlying helper applications mpremap.exe and 1

ffmpeg.exe. mpremap.exe is used to convert individual frames using the Panotools-library. ffmpeg.exe breaks up almost any video stream into individual frames and reassembles the converted frames into video streams. To use MPRemap on the Windows-platform follow these installation instructions: Get and install the ffmpeg application. A Google-search for ffmpeg and your OS-name should bring up many download-links. Install a recent Java runtime (Sun JRE version 1.4.2). Unzip MPRemap.zip and put the content somewhere on your computer. Running from non-writeable media (CD/DVD) is ok as long as the current working directory is writeable. Depending on your installation, start MPRemap by either double-clicking the file MPRemap.jar or issuing the command java -jar MPRemap.jar. On all other platforms you first have to build the mpremap-application. See the section Sources for details. All other steps are equal. 2 Usage MPRemaps main window exhibits a menu bar and a text area displaying status and help messages. Upon startup a copyright message and values for all settable options are displayed (see figure 2). Many options have to be set just once like the path to the helper applications ffmpeg.exe (Ffmpeg Path to ffmpeg) and mpremap.exe (MPRemap Path to mpremap). All options together with their values are displayed by selecting the menu-item Help About. Each menu-item is explained in the online-help accessible through the Helpmenu. This menu also provides manuals for the helper applications. In this article we will only present a few examples included in the distribution which may serve as starting points for your own projects and which tests your installation. Key to all tranformations is a corresponding scriptfile which specifies the details. Please consult the online-help for details and further options. The source media files and

Figure 1: MPRemap main window displaying status information

the script files can be downloaded from my website <http://www.hs-furtwangen.de/ dersch>. Conversion starts after pressing the Start -button. The status window displays messages from MPRemap and the helper applications. Conversion is finished when the message Conversion finished is displayed. Canversion may be interrupted by pressing Cancel. 3 Examples 3.1 Fisheye to Rectilinear/Cylinder Figure 2: 183 -fisheye (Nikon FC-E8 on Canon MV850i) to 90 -rectilinear The video is made with a Camcorder Canon MV850i and a Nikon Fisheye lens FC-E8 (left image in figure 3.1). To create a rectilinear view like the image to the right, use this script p f0 w640 h480 v160 o f10 r-8 v173 and set the options: input=...fisheye.mpg output=...ar.mpg

script=...script_fisheye2rectilinear extract=false motionblur=1 use_ffmpeg_for_input=true deinterlace=false use_ffmpeg_for_output=true output_format= -b 2000kb -vcodec mpeg1video audio= -acodec copy Figure 3: 183 -fisheye (Nikon FC-E1 on Canon MV850i) to 160 -cylinder To remap the fisheye view to cylindrical projection like the image to the right (figure 3.1, use this script p f1 w640 h480 v160 o f10 r-8 v173 and set the options: input=...fisheye.mpg output=...ac.mpg script=...script_fisheye2cylinder extract=false motionblur=1

use_ffmpeg_for_input=true deinterlace=false use_ffmpeg_for_output=true output_format= -b 2000kb -vcodec mpeg1video audio= -acodec copy Notice that the scripts also rotate the image by 8 to get a straight horizon. 3.2 Perspective Correction Figure 4: Correcting falling lines and barrel distortion The video is made with a Canon Powershot TX1 and MPRemap is used to perform a perspective correction, i.e. to straighten vertical lines, and correct lens distortions. To repeat the conversion use this script p f0 v60 w823 h1029 C84,724,127,607 o f0 v50 y0 p10 r2 b-0.01 and these options input=...perspect.mpg output=...ap.mpg

script=...script_perspect_movie extract=false quality=82 motionblur=1 use_ffmpeg_for_input=true deinterlace=false use_ffmpeg_for_output=true output_format= -b 2000kb -vcodec mpeg1video audio= -acodec copy Notice that this script creates large target frames (823x1029 pixels) and later crops these to 640x480. This simulates the action of a shift lens. 3.3 Panorama to Grid In this example MPRemap creates a series of prerendered views from a static panoramic image. These views are equally spaced regarding to pan and tilt angles, and can be used together with an object-viewer (eg PTViewerJS) to view interactive panoramas on limited devices. To repeat the conversion use this script. Make sure the target directory for the jpeg-encoded images exists. p f2 v360 GRID(-90,90,15,0,355,20) o f0 w180 h120 v75 r0 y0 p0 and these options input=...panorama.jpg output=...target/im%d.jpg script=...script_panorama2grid extract=true quality=82 motionblur=1 use_ffmpeg_for_input=false use_ffmpeg_for_output=false

Figure 5: Creating equally spaced views from a panoramic image

3.4 Panorama to Movie MPRemap can be used to create movies from static panoramic images. Arbitrary many pan/tilt/rotation/zoomlevels are smoothly interconnected by a spline function to simulate a real panning camera. Smooth start and stop actions provide a realistic viewing experience, which can be further enhanced by adding motion blur to fast movements or zooming. These are a few example frames from a virtual pan. To repeat the conversion use this script p f2 v360 o f0 w320 h240 y70 p0 r0 v90 SPLINE(100,100,30,30) o f0 w320 h240 y200 p20 r10 v120 nsame o f0 w320 h240 y360 p0 r0 v60 nsame o f0 w320 h240 y360 p0 r180 v120 nsame o f0 w320 h240 y360 p0 r360 v60 nsame and these options input=...panorama.jpg output=...am.mpg script=...script_panorama2movie extract=true motionblur=10 use_ffmpeg_for_input=false use_ffmpeg_for_output=true output_format= -b 2000kb -vcodec mpeg1video

Figure 6: Some frames from a virtual pan. Notice motionblur during fast movements

3.5 How to find suitable parameters In the case of video input, use single frames to experiment and find suitable parameters. This command may be used to extract a single frame from a movie: ffmpeg.exe -ss 5 -vframes 1 -i input.mpg -vcodec mjpeg -y frame%d.jpg In the case of panoramic input, use extract-mode. Then you can use PTViewer to select suitable viewing parameters which PTViewer displays after pressing v. Otherwise, choose one of the example scripts as starting point, keep the script open in a plain-texteditor, and make changes to the parameter. See the online help in MPRemap for the meaning of each option. Then create a single target frame using MPRemap and judge the result using an imageviewer. Cycle through these steps until you are satisfied with the result, and then convert the whole movie. 4 Sources The distribution contains the C-sources for the mpremap helper application. To build the application, you also need the Panorama Tools library pano12 (e.g. from Sourceforge) and the dependencies of this library (libjpeg, libpng, libtiff). The Makefile has targets for Windows (Mingw), X86-Linux and PPC-Linux. Other targets can be easily generated.