Unsupervised Automation of Photographic Composition Rules Serene Banerjee and Brian L. Evans

Slides:



Advertisements
Similar presentations
Patient information extraction in digitized X-ray imagery Hsien-Huang P. Wu Department of Electrical Engineering, National Yunlin University of Science.
Advertisements

S INGLE -I MAGE R EFOCUSING AND D EFOCUSING Wei Zhang, Nember, IEEE, and Wai-Kuen Cham, Senior Member, IEEE.
QR Code Recognition Based On Image Processing
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Spatial Filtering (Chapter 3)
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
EDGE DETECTION ARCHANA IYER AADHAR AUTHENTICATION.
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Face Recognition and Biometric Systems 2005/2006 Filters.
Multimedia communications EG 371Dr Matt Roach Multimedia Communications EG 371 and EE 348 Dr Matt Roach Lecture 6 Image processing (filters)
Foreground Modeling The Shape of Things that Came Nathan Jacobs Advisor: Robert Pless Computer Science Washington University in St. Louis.
Computer Vision Group Edge Detection Giacomo Boracchi 5/12/2007
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
Segmentation Divide the image into segments. Each segment:
Image Forgery Detection by Gamma Correction Differences.
Graphics and Still Images John H. Krantz Hanover College.
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
Introduction to Computer Graphics
Camera Phone Color Appearance Utility Finding a Way to Identify Color Phillip Lachman Robert Prakash Elston Tochip.
V Obtained from a summer workshop in Guildford County July, 2014
Photography Parts of a Camera. Aperture size (or width or diameter) of the opening of a lens diaphragm inside a photographic lens regulates the amount.
Computer Vision Systems for the Blind and Visually Disabled. STATS 19 SEM Talk 3. Alan Yuille. UCLA. Dept. Statistics and Psychology.
Making the best pictures You could possibly make.
Composition-Guided Image Acquisition Serene Banerjee Ph.D. Defense, April 28 th, Committee Members: Prof. Ross Baldick.
Digital Photography Vocabulary
SCCS 4761 Introduction What is Image Processing? Fundamental of Image Processing.
Digital Photography A tool for Graphic Design Graphic Design: Digital Photography.
Using your digital camera DIGITAL MEDIA Presented By Andre Daniels.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Machine Vision for Robots
Comparing Regular Film to Digital Photography
Vector vs. Bitmap
Digital Cameras. Image Capture  Images are captured by the image sensor, then stored in the camera in a memory device.  Sensors convert light into an.
Controlling the Photographic Process. With today’s modern digital cameras you can have as much or as little control over the picture taking process as.
Under Supervision of Dr. Kamel A. Arram Eng. Lamiaa Said Wed
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Digital Image Processing Lecture 10: Image Restoration
DIGITAL CAMERAS Prof Oakes. Overview Camera history Digital Cameras/Digital Images Image Capture Image Display Frame Rate Progressive and Interlaced scans.
Understanding Aperture Overview & Refresher. Choosing Exposure Modes Aperture Priority Mode Lets you choose the aperture needed to obtain the depth of.
Digital Photography Multimedia I. 1)Check to see if the battery is charged. 2)Check to see if memory has space. 3)Check to see if the camera’s date is.
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Digital Camera TAVITA SU’A. Overview ◦Digital Camera ◦Image Sensor ◦CMOS ◦CCD ◦Color ◦Aperture ◦Shutter Speed ◦ISO.
1 Motivation Problem: Amateur photographers take unappealing pictures (e.g. personal and business use) Help users take better pictures with digital cameras.
Motion Estimation using Markov Random Fields Hrvoje Bogunović Image Processing Group Faculty of Electrical Engineering and Computing University of Zagreb.
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
POSTER TEMPLATE BY: Background Objectives Psychophysical Experiment Smoothness Features Project Pipeline and outlines The purpose.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
ESPL 1 Motivation Problem: Amateur photographers often take low- quality pictures with digital still camera Personal use Professionals who need to document.
Auto Modes “P,” “A,” & “S”  Program- Automatic, no flash  Aperture Priority- You choose the Aperture (size of shutter opening) and the camera chooses.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
Sliding Window Filters Longin Jan Latecki October 9, 2002.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
CAMERAS, PARTS of the CAMERA, and ACCESSORIES (TAKE NOTES ON THE UNDERLINED MATERIAL AND LABELLED DIAGRAMS)
IMAGE PROCESSING is the use of computer algorithms to perform image process on digital images   It is used for filtering the image and editing the digital.
Visual Information Processing. Human Perception V.S. Machine Perception  Human perception: pictorial information improvement for human interpretation.
Digital Image Processing Lecture 10: Image Restoration
Tuning JPEG2000 Image Compression for Graphics Regions
9th Lecture - Image Filters
Fits for Pinhole and FresnelZonePlate
Aline Martin ECE738 Project – Spring 2005
© 2010 Cengage Learning Engineering. All Rights Reserved.
Lecture 1: Images and image filtering
Digital Camera Terms and Functions
Presentation transcript:

Unsupervised Automation of Photographic Composition Rules Serene Banerjee and Brian L. Evans Computer Engineering Area Dept. of Electrical and Computer Engineering The University of Texas at Austin

1/19/2004 Automation of Composition Rules 2 Motivation Problem: Amateur photographers often take low-quality pictures with digital still cameras Personal use Professionals who need to document (e.g.. realtors and architects) Goal: Automate photographic composition rules and find alternatives to the picture being acquired Analyze scene, including detection of main subject Develop algorithms to automate rules Main subject cropped Too much background

1/19/2004 Automation of Composition Rules 3 Solution Solution #1: Automatically detect main subject Independent of indoor/outdoor setting or scene Low implementation complexity, fixed-point computation Solution #2: Automate a few photograph composition rules Rule of thirds for placing the main subject Simulated background blur for motion pictures or depth-of-field Following rule-of-thirds Blur background for action pictures

1/19/2004 Automation of Composition Rules 4 1: Main subject 2: Lenses 3: CCD 4: Imaging device 5: Raw data Digital Still Cameras Converts optical image to electric signal using charge coupled device (CCD) Software control Zoom Focus, e.g. auto-focus filter Shutter aperture and speed White balance: Corrects color distortions Settings that can be controlled (with added hardware) Camera angle Aspect ratio: Landscape or portrait mode Produces JPEG compressed images

1/19/2004 Automation of Composition Rules 5 Main Subject Detection Methods Two differently focused photographs [Aizawa, Kodama, Kubota; ] One has foreground in focus, and other has background in focus Significant delay involved in changing the focus Bayes nets based training [Luo, Etz, Singhal, Gray; ] Bayesian network trained on example set and tested later Training time involved: suited for offline applications Multi-level wavelet coefficients [Wang, Lee, Gray, Wiederhold; ] Expensive to compute and analyze wavelet coefficients Iterative classification from variance maps [Won, Pyan, Gray; 2002] Optimal solution from variance maps and refinement with watershed Suitable for offline applications involving iterative passes over image

1/19/2004 Automation of Composition Rules 6 Proposed Main Subject Detection User starts image acquisition Focus main subject using auto-focus filter Partially blur background and acquire resulting picture Open shutter aperture (by lowering f-stop) which takes about 1 s Foreground edges stronger than background edges While acquiring user-intended picture, process blurred background picture to detect main subject Generate edge map (subtract original image from sharpened image) Apply edge detector (Canny edge detector performs well) Close boundary (e.g. gradient vector flow or proposed approximation)

1/19/2004 Automation of Composition Rules 7 Symmetric 3 x 3 sharpening filter For integer  and , coefficients are Integer when dropping 1/(1 +  ) term Fractional when -1 – 2    and 1/(1 +  ) is power-of-two Generate edge map Subtract original image from sharpened image Main subject region now has sharper edges Generate Edge Map f(x,y) g(x,y)f sharp (x,y) Smoothing filter f smooth (x,y) k + Model for an image sharpening filter Sharpening filter

1/19/2004 Automation of Composition Rules 8 Boundary Closure Gradient vector flow method [Xu, Yezzi, Prince; ] Compute gradient Outer boundary of detected sharp edges is initial contour Change shape of initial contour, depending on gradient Shape converges in approximately 5 iterations Disadvantage: computationally and memory intensive Approximate lower complexity method Select leftmost & rightmost ON pixel and make row between them ON Can detect convex regions but fails at concavities

1/19/2004 Automation of Composition Rules 9 Automation of Rule-of-Thirds Goal: Center of mass of the main subject at 1/3 or 2/3 of the picture width (or height) from the left (or top) edge Solution: For n-D, define function that attains minimum when center of mass placed as desired and increases otherwise Shift picture so that minimum is attained Implementation: For 2-D, sum of Euclidean distance from the 4 points Measure which of the 4 points is closest to the current position of the center of mass Shift picture so that the rule-of-thirds is followed

1/19/2004 Automation of Composition Rules 10 Simulated Background Blurring Goal: Filter the image background and add artistic effects keeping the main subject intact Solution: Original image masked with detected main subject mask Region of interest filtering performed on masked image Possible motion blurs Linear blur: subject or camera motion Radial blur: camera rotation Zoom: change in zoom Applications Enhance sense of motion where the main subject is moving Digitally decrease the depth-of-field of the photograph

1/19/2004 Automation of Composition Rules 11 Proposed Module Measure how close rule-of-thirds followed Auto-focus filter Lower f-stop for blur Filter to generate edge map Detect sharper edges Close boundary Original Image Automate rule-of-thirds Simulate background blur Binary Main Subject Mask Generated Picture with Rule-of-Thirds Generated Picture with Blur

1/19/2004 Automation of Composition Rules 12 Implementation Complexity Number of computations and memory accesses per pixel Main subject detection: convolution with symmetric 3x3 filter, edge detection, approximate boundary closure Rule-of-thirds: center of mass (1 division, 4 compares), shift pixels Background blurring: convolution with symmetric 3x3 filter Digital still cameras use ~160 digital signal processor instruction cycles per pixel Processing stepMultiply-Accumulates /pixel Comparisons/ pixel Memory accesses/pixel Main subject detection Rule of thirds 211 or 3 Background blurring 94

1/19/2004 Automation of Composition Rules 13 Results (1) Original image with main subject(s) in focus Detected strong edges with proposed algorithm Detected main subject mask Rule-of-Thirds: Main subject repositioned Simulated background blur

1/19/2004 Automation of Composition Rules 14 Results (2) Original image with main subject(s) in focus Detected strong edges with proposed algorithm Detected main subject mask Rule-of-Thirds: Main subject repositioned Simulated background blur

1/19/2004 Automation of Composition Rules 15 Results (3) Original image with main subject(s) in focus Detected strong edges with proposed algorithm Detected main subject mask Rule-of-Thirds: Main subject repositioned Simulated background blur

1/19/2004 Automation of Composition Rules 16 Conclusion Developed automated low-complexity one-pass method for main subject detection in digital still cameras Processes picture taken with blurred background All calculations in fixed-point arithmetic Automates selected photographic composition rules Rule-of-thirds: Placement of the main subject on the canvas Simulated background blur: motion and depth-of-field Applications: digital still cameras, surveillance, constrained image compression, and transmission and display Copies of MATLAB code, poster, and paper, available at