Instructions for automatically masking a black background in Agisoft PhotoScan

Similar documents
A Guide to Processing Photos into 3D Models Using Agisoft PhotoScan

Cropping an Image for the Web

How to use the open-access scanners 1. Basic instructions (pg 2) 2. How to scan a document and perform OCR (pg 3 7) 3. How to scan a document and

Interface. 2. Interface Photoshop CS/ImageReady CS for the Web H O T

Photoshop Basics A quick introduction to the basic tools in Photoshop

hdalbum User Designer Guide Collect Create Share Designer V 1.2

Adobe photoshop Using Masks for Illustration Effects

ADOBE PHOTOSHOP Using Masks for Illustration Effects

ADOBE TRAINING CS6 PHOTOSHOP BASICS: EDITING PHOTOS & WORKING WITH TEXT - 1

1. Open up PRO-DESKTOP from your programmes menu. Then click on the file menu > new> design.

Adobe Photoshop Sh S.K. Sublania and Sh. Naresh Chand

HAPPY HOLIDAYS PHOTO BORDER

use selection tools, layers & masks in PhotoPlus X4 Faking it! Combine three source photos and add text to create a composite image or montage.

Agisoft PhotoScan Tutorial

Edupen Pro User Manual

Using Masks for Illustration Effects

Photoshop tutorial: Final Product in Photoshop:

Adobe Illustrator CS Design Professional GETTING STARTED WITH ILLUSTRATOR

2. To change the view of the pictures, click the Thumbnail View button.

Layers (Just the Basics) By Jerry Koons

FILLING IN A GRID. 2. Fill that layer however you like I used a gradient. (That s a whole other tutorial!)

Creating and Editing Images in Paint Shop Pro Version XI. File Types

PowerPoint for Art History Presentations

Photoshop Domain 3: Understanding Adobe Photoshop CS 5

Fantasy Cartography with Adobe Photoshop: Adapted for Gimp

Adobe Illustrator. Quick Start Guide

The Official E-Portfolio Tutorial Guide

Pen Tool, Fill Layers, Color Range, Levels Adjustments, Magic Wand tool, and shadowing techniques

InDesign ACA Certification Test 50 terms hollymsmith TEACHER

To get a copy of this image you right click on the image with your mouse and you will get a menu. Scroll down the menu and select "Save Image As".

my news on the go Tutorial

ADOBE PHOTOSHOP BOOK SAHALSOFTWARE. Frist Editing. Contents

-Remember to always hit Command + S every time you make a change to your project going forward.

InDesign Tools Overview

GIMP WEB 2.0 BUTTONS

WRITING TEXT ON A HEART (for a Gearbubble Necklace)

Step by Step Directions on how to use Kizoa

REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!

SNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC

The Photoshop Editing Process

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Lab 02: Introduction to Photoshop Part 1

Tips for Digital File Creation

User Services. WebCT Integrating Images OBJECTIVES

Creating Book Trailers Using Photo Story 3 Why Photo Story 3? It is a free program anyone can download.

Photoshop Creative Cloud (CC)

Quick Guide for Photoshop CC Basics April 2016 Training:

THE PAINT WINDOW. At the very top is the Title Bar, just as in all programs, below it is a very simple Menu Bar and below that is the Ribbon.

Adobe Flash CS4 Part 1: Introduction to Flash

Step 1: Create A New Photoshop Document

Automated Video Redaction User Guide

This book will help you quickly create your first documents, spreadsheets, and slideshows.

Microsoft Office Publisher

User Guide Belltech Systems, LLC

Adobe Premiere Pro CC 2015 Tutorial

14. Using Illustrator CC with Other Adobe Applications

Photoshop Domain 3: Setting Project Requirements. Dreamweaver Domain 3

Recitation 3 Further Work with Dreamweaver and Photoshop: Refining your Web Site

Adobe. Photoshop CC. Alberto Seveso. CLASSROOM IN A BOOK The official training workbook from Adobe. Andrew Faulkner & Conrad Chavez

Real Estate Flyer. Projects 1

How to...create a Video VBOX Gauge in Inkscape. So you want to create your own gauge? How about a transparent background for those text elements?

HO-1: INTRODUCTION TO FIREWORKS

Working With Images: Intermediate Photoshop

Making a Sackville Coastal Flood Map

Understanding the Interface

ITP 101 Project 2 - Photoshop

Center for Faculty Development and Support Creating Powerful and Accessible Presentation

Chapter 25. Build Creations with Your Photos

Task 1 Match the background colours Open Program Files -> Adobe Master Collection CS6 -> Adobe Photoshop CS6

Table of Contents. Page 2 of 72. High Impact 4.0 User Manual

Viewing and using your catalogue in the Library module, and exporting photos once done.

Create and edit text. Create the title text First you ll create the title text for the car rental ad.

How to Add a Text Watermark to a Digital Image

4. If you are prompted to enable hardware acceleration to improve performance, click

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

ITEC185. Introduction to Digital Media

Adobe Photoshop CS2/CS3: introduction

Publishing Electronic Portfolios using Adobe Acrobat 5.0

IMPORTING, ORGANIZING, EXPORTING, AND SAVING. MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication

Introduction to Flash - Creating a Motion Tween

Adobe Premiere Elements Tutorial

Colony Counting User Manual A D I V I S I O N O F S Y N O P T I C S L T D

1. Select the Insert tab. 2. Click the Picture command in the Images group. The Insert Picture dialog box appears.

Nikon Capture NX "How To..." Series

BONUS! SPECIAL REPORT

Version Beta, pre-release. zspace Studio Users Guide

Quick Start Guide: Fiery proserver for EFI Cretaprint Printers

Paint/Draw Tools. Foreground color. Free-form select. Select. Eraser/Color Eraser. Fill Color. Color Picker. Magnify. Pencil. Brush.

Digital Documentaries Premiere Elements 8

PHOTO in TEXT (FILLED TEXT) ( Using Photoshop Elements 2018 )

All textures produced with Texture Maker. Not Applicable. Beginner.

Photoshop Fundamentals

Starting Photoshop and Uiewing the Workspace

Q u i c k S ta r t G u i d e

Picture Package and Custom Package

KODAK Software User s Guide

Adding Pictures to Your Teacher Web Page

bridge essential skills

Apple idvd 11 Tutorial

Adobe Flash CS4 Part 4: Interactivity

9 ADVANCED LAYERING. Lesson overview

Transcription:

A Simple Photogrammetry Rig for the Reliable Creation of 3D Artifact Models in the Field: Lithic Examples from the Early Upper Paleolithic Sequence of Les Cottés (France) Instructions for automatically masking a black background in Agisoft PhotoScan This document provides step-by-step instructions on how to easily mask sets of images taken with a black background for the purpose of creating 3D models in Agisoft PhotoScan. This tutorial does not aim to be comprehensive or definitive. Rather it is meant to be used as a guide for beginners. The authors encourage readers to seek out additional resources to learn about additional masking options. Method 1 uses background masking capabilities within Agisoft Photoscan itself. Method 2 creates alpha channels using Adobe Photoshop. This second method allows users somewhat more control of the exact extent of the generated image masks. Users may wish to try this second method if the application of the first method does not result in a mask with a clean edge around the target object. Index Method 1 - Step 1 Option 1 Creating a black background image in Adobe Photoshop pg 2 Method 1 - Step 1 Option 2 Creating a black background image in Microsoft Paint pg 6 Method 1 - Step 2 Importing photos and masks into Agisoft PhotoScan pg 10 Method 2 Step 1 Creating an action in Adobe Photoshop pg 14 Method 2 Step 2 Running a batch process in Adobe Photoshop pg 22 Method 2 Step 3 Importing photos and masks in Agisoft PhotoScan pg 24 The following versions of the software listed below were utilized in creating these tutorials: Adobe Photoshop CS6 Version 13.0.1 x64 Agisoft PhotoScan Professional Edition Version 1.1.5 build 2034 (64 bit) Microsoft Paint Windows 8.1 Edition Version 6.3 Build 9600 1

Method 1 Step 1 Option 1 Creating a black background image in Adobe Photoshop 1. Open Adobe Photoshop. Click File Open. 2. Navigate to the set of images you want to process. Select one of the images and click Open. 2

Method 1 3. Click Select All. 4. Click Edit Fill. 3

Method 1 5. Set the contents to use Black. Click OK. 6. Now that the image is filled in, you can save it. Click File Save As. 4

Method 1 7. Choose a place to save this background image. Navigate to this folder. Set the file name as something easy to remember like background. Save the file as a JPEG. 8. If prompted, at this step you may accept the default settings that Photoshop provides. 5

Method 1 Step 1 Option 2 Creating a black background image in Microsoft Paint 1. Open Microsoft Paint. Click File Open. 2. Navigate to the set of images you want to process. Select one of the images and click Open. 6

Method 1 3. The image may open at full size, and so only a portion of the image may be visible. Click View Zoom Out until the entire image is visible. Alternatively, you may use the slider bar in the lower right hand corner. 4. Return to the Home tab. Make sure that both Color 1 and Color 2 are set to black. 7

Method 1 5. Click on the rectangular shape icon. Click Fill and set it to Solid Color. 6. Drag a rectangle across the image. This should turn the entire image black. Reposition / resize the rectangle, or repeat the previous stage if necessary. 8

Method 1 7. Click File Save As JPEG picture. 8. Choose a place to save this background image. Navigate to this folder. Set the file name as something easy to remember like background. Save the file as a JPEG. Navigate to this folder. Set the file name as something easy to remember like background. Save the file as a JPEG. 9

Method 1 Step 2 Importing photos and masks into Agisoft PhotoScan 1. Open Agisoft PhotoScan. Click Workflow Add Folder. 2. Navigate to the folder with the set of images you would like to process. Click Select Folder. 10

Method 1 3. If prompted, select Create camera from each file. Click OK. 4. Once the images are imported, click Tools Import Masks. 11

Method 1 5. For the masking method, select From Background. In this case, we are using a single file to mask all of the images. Set the file name to be one you created in Step 1. You can also change the level of tolerance 1 the masks will be processed with. In this case, we want this to apply to all images / cameras. Click OK. 6. Navigate to the folder where you saved the background image, then click OK. 1 Tolerance refers to how different in tone and color a pixel may be from the background image to be included as part of the image mask. A level of 50 usually works well, but you can adjust this if need be. If not enough of the background is being masked, you can try raising the tolerance. If too much of the image is being masked, try lowering the tolerance. 12

Method 1 7. PhotoScan will now begin creating the image masks. 8. Once processing has completed you can preview the masks by toggling the icon circled in red below. You can view masks in greater detail in the center window by double clicking on the thumbnails in the Photos pane (displayed here on the right). You can also edit individual masks once they are imported into PhotoScan by using the tools circled below in blue. Once you are happy with your masks, you can proceed with processing your 2D images into 3D models. 13

Method 2 1) Open a photo taken with the photogrammetry rig in Adobe Photoshop. 2) Open the action window by clicking on Window Action 14

Method 2 3) Create a new action by clicking on the icon (circled in red in the screenshot below). Give the new action a name, and set it as a default action. Click Record. A red circle will appear showing your actions are being recorded. 15

Method 2 4) Using the magic wand tool select a spot on the black background in the upper left hand corner of the image (represented below by the red X). You will want to click on a place that will consistantly select the background in each photo, you are processing and not the object. Make sure the box next to Contiguous is checked (as indicated by the white arrow). You may want to experiment with the tolerence level, but a setting of 15 usually works well. 5) Change the selection to the object and scale rather than the background by clicking Select Inverse. 16

Method 2 6) If you zoom in, you will likely notice a line of black pixels is still included in your selection. To mitigate this, click Select Modify Contract. Contract the selection by 2 or 3 pixels, depending on the resolution of your photos and the size of the remaining black area you observe. Click OK. 17

Method 2 The selection should now be tighter around the edges of the target object. 7) Now you will create an alpha channel around representing your selection. To do this, click Select Save Selection. 18

Method 2 Save the selection as a new channel. Give the channel a name. Click OK. 8) You can view this alpha channel mask by clicking Windows Channels. 19

Method 2 9) Next, save the photo by clicking File Save As. Save the image as a copy and a TIFF, and be sure to include the alpha channel. Click Save. 20

Method 2 You can use compression in order to avoid overly large file sizes. Click OK to save the file. 10) Stop recording the action by clicking the square stop icon on the actions window (circled in red below). 21

Method 2 1) Create folders for your raw and processed photos. 2) In Photoshop click File Automate Batch. 22

Method 2 3) Select the action you created in the previous step. Set your source folder as the folder containing your raw images. Choose your desired destination folder for your processed images. Make sure that Override Action Save As Commands is selected (as indicated by the red arrow below). Click OK. 4) Once the batch process has run, if you open the designated destination folder for your processed images, the image thumbnails should display with a white background. 23

Method 2 1) Import your photos into PhotoScan by clicking Workflow Add Photos. Select the appropriate folder. 2) Once the images are imported, you can import the masks. Do this by clicking Tools Import Import Masks. 24

Method 2 Import masks for the entire workspace. The method should be set to From Alpha. Click OK. Once the masks are imported, you can view and edit them by double clicking on images in the photo window. 25