Using Depth Mapping to Realize Bokeh Effect with a Single Camera Android Device EE368 Project Report Authors (SCPD Students): Jie Gong, Ran Liu, Pradeep Vukkadala
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
“Digital Single Lens Reflex”
PHOTOGRAPHY GENERIC ELECTIVE SEM-II DSLR stands for “Digital Single Lens Reflex”. In simple language, a DSLR is a digital camera that uses a mirror mechanism to either reflect light from a camera lens to an optical viewfinder (which is an eyepiece on the back of the camera that one looks through to see what they are taking a picture of) or let light fully pass onto the image sensor (which captures the image) by moving the mirror out of the way. Although single lens reflex cameras have been available in various shapes and forms since the 19th century with film as the recording medium, the first commercial digital SLR with an image sensor appeared in 1991. Compared to point-and-shoot and phone cameras, DSLR cameras typically use interchangeable lenses. Take a look at the following image of an SLR cross section (image courtesy of Wikipedia): When you look through a DSLR viewfinder / eyepiece on the back of the camera, whatever you see is passed through the lens attached to the camera, which means that you could be looking at exactly what you are going to capture. Light from the scene you are attempting to capture passes through the lens into a reflex mirror (#2) that sits at a 45 degree angle inside the camera chamber, which then forwards the light vertically to an optical element called a “pentaprism” (#7). The pentaprism then converts the vertical light to horizontal by redirecting the light through two separate mirrors, right into the viewfinder (#8). When you take a picture, the reflex mirror (#2) swings upwards, blocking the vertical pathway and letting the light directly through. -
Depth-Aware Blending of Smoothed Images for Bokeh Effect Generation
1 Depth-aware Blending of Smoothed Images for Bokeh Effect Generation Saikat Duttaa,∗∗ aIndian Institute of Technology Madras, Chennai, PIN-600036, India ABSTRACT Bokeh effect is used in photography to capture images where the closer objects look sharp and every- thing else stays out-of-focus. Bokeh photos are generally captured using Single Lens Reflex cameras using shallow depth-of-field. Most of the modern smartphones can take bokeh images by leveraging dual rear cameras or a good auto-focus hardware. However, for smartphones with single-rear camera without a good auto-focus hardware, we have to rely on software to generate bokeh images. This kind of system is also useful to generate bokeh effect in already captured images. In this paper, an end-to-end deep learning framework is proposed to generate high-quality bokeh effect from images. The original image and different versions of smoothed images are blended to generate Bokeh effect with the help of a monocular depth estimation network. The proposed approach is compared against a saliency detection based baseline and a number of approaches proposed in AIM 2019 Challenge on Bokeh Effect Synthesis. Extensive experiments are shown in order to understand different parts of the proposed algorithm. The network is lightweight and can process an HD image in 0.03 seconds. This approach ranked second in AIM 2019 Bokeh effect challenge-Perceptual Track. 1. Introduction tant problem in Computer Vision and has gained attention re- cently. Most of the existing approaches(Shen et al., 2016; Wad- Depth-of-field effect or Bokeh effect is often used in photog- hwa et al., 2018; Xu et al., 2018) work on human portraits by raphy to generate aesthetic pictures. -
Portraiture, Surveillance, and the Continuity Aesthetic of Blur
Michigan Technological University Digital Commons @ Michigan Tech Michigan Tech Publications 6-22-2021 Portraiture, Surveillance, and the Continuity Aesthetic of Blur Stefka Hristova Michigan Technological University, [email protected] Follow this and additional works at: https://digitalcommons.mtu.edu/michigantech-p Part of the Arts and Humanities Commons Recommended Citation Hristova, S. (2021). Portraiture, Surveillance, and the Continuity Aesthetic of Blur. Frames Cinema Journal, 18, 59-98. http://doi.org/10.15664/fcj.v18i1.2249 Retrieved from: https://digitalcommons.mtu.edu/michigantech-p/15062 Follow this and additional works at: https://digitalcommons.mtu.edu/michigantech-p Part of the Arts and Humanities Commons Portraiture, Surveillance, and the Continuity Aesthetic of Blur Stefka Hristova DOI:10.15664/fcj.v18i1.2249 Frames Cinema Journal ISSN 2053–8812 Issue 18 (Jun 2021) http://www.framescinemajournal.com Frames Cinema Journal, Issue 18 (June 2021) Portraiture, Surveillance, and the Continuity Aesthetic of Blur Stefka Hristova Introduction With the increasing transformation of photography away from a camera-based analogue image-making process into a computerised set of procedures, the ontology of the photographic image has been challenged. Portraits in particular have become reconfigured into what Mark B. Hansen has called “digital facial images” and Mitra Azar has subsequently reworked into “algorithmic facial images.” 1 This transition has amplified the role of portraiture as a representational device, as a node in a network -
Depth of Field Lenses Form Images of Objects a Predictable Distance Away from the Lens. the Distance from the Image to the Lens Is the Image Distance
Depth of Field Lenses form images of objects a predictable distance away from the lens. The distance from the image to the lens is the image distance. Image distance depends on the object distance (distance from object to the lens) and the focal length of the lens. Figure 1 shows how the image distance depends on object distance for lenses with focal lengths of 35 mm and 200 mm. Figure 1: Dependence Of Image Distance Upon Object Distance Cameras use lenses to focus the images of object upon the film or exposure medium. Objects within a photographic Figure 2 scene are usually a varying distance from the lens. Because a lens is capable of precisely focusing objects of a single distance, some objects will be precisely focused while others will be out of focus and even blurred. Skilled photographers strive to maximize the depth of field within their photographs. Depth of field refers to the distance between the nearest and the farthest objects within a photographic scene that are acceptably focused. Figure 2 is an example of a photograph with a shallow depth of field. One variable that affects depth of field is the f-number. The f-number is the ratio of the focal length to the diameter of the aperture. The aperture is the circular opening through which light travels before reaching the lens. Table 1 shows the dependence of the depth of field (DOF) upon the f-number of a digital camera. Table 1: Dependence of Depth of Field Upon f-Number and Camera Lens 35-mm Camera Lens 200-mm Camera Lens f-Number DN (m) DF (m) DOF (m) DN (m) DF (m) DOF (m) 2.8 4.11 6.39 2.29 4.97 5.03 0.06 4.0 3.82 7.23 3.39 4.95 5.05 0.10 5.6 3.48 8.86 5.38 4.94 5.07 0.13 8.0 3.09 13.02 9.93 4.91 5.09 0.18 22.0 1.82 Infinity Infinite 4.775 5.27 0.52 The DN value represents the nearest object distance that is acceptably focused. -
What's a Megapixel Lens and Why Would You Need One?
Theia Technologies white paper Page 1 of 3 What's a Megapixel Lens and Why Would You Need One? It's an exciting time in the security department. You've finally received approval to migrate from your installed analog cameras to new megapixel models and Also translated in Russian: expectations are high. As you get together with your integrator, you start selecting Что такое мегапиксельный the cameras you plan to install, looking forward to getting higher quality, higher объектив и для чего он resolution images and, in many cases, covering the same amount of ground with нужен one camera that, otherwise, would have taken several analog models. You're covering the basics of those megapixel cameras, including the housing and mounting hardware. What about the lens? You've just opened up Pandora's Box. A Lens Is Not a Lens Is Not a Lens The lens needed for an IP/megapixel camera is much different than the lens needed for a traditional analog camera. These higher resolution cameras demand higher quality lenses. For instance, in a megapixel camera, the focal plane spot size of the lens must be comparable or smaller than the pixel size on the sensor (Figures 1 and 2). To do this, more elements, and higher precision elements, are required for megapixel camera lenses which can make them more costly than their analog counterparts. Figure 1 Figure 2 Spot size of a megapixel lens is much smaller, required Spot size of a standard lens won't allow sharp focus on for good focus on megapixel sensors. a megapixel sensor. -
EVERYDAY MAGIC Bokeh
EVERYDAY MAGIC Bokeh “Our goal should be to perceive the extraordinary in the ordinary, and when we get good enough, to live vice versa, in the ordinary extraordinary.” ~ Eric Booth Welcome to Lesson Two of Everyday Magic. In this week’s lesson we are going to dig deep into those magical little orbs of light in a photograph known as bokeh. Pronounced BOH-Kə (or BOH-kay), the word “bokeh” is an English translation of the Japanese word boke, which means “blur” or “haze”. What is Bokeh? bokeh. And it is the camera lens and how it renders the out of focus light in Photographically speaking, bokeh is the background that gives bokeh its defined as the aesthetic quality of the more or less circular appearance. blur produced by the camera lens in the out-of-focus parts of an image. But what makes this unique visual experience seem magical is the fact that we are not able to ‘see’ bokeh with our superior human vision and excellent depth of field. Bokeh is totally a function ‘seeing’ through the lens. Playing with Focal Distance In addition to a shallow depth of field, the bokeh in an image is also determined by 1) the distance between the subject and the background and 2) the distance between the lens and the subject. Depending on how you Bokeh and Depth of Field compose your image, the bokeh can be smooth and ‘creamy’ in appearance or it The key to achieving beautiful bokeh in can be livelier and more energetic. your images is by shooting with a shallow depth of field (DOF) which is the amount of an image which is appears acceptably sharp. -
Aperture Efficiency and Wide Field-Of-View Optical Systems Mark R
Aperture Efficiency and Wide Field-of-View Optical Systems Mark R. Ackermann, Sandia National Laboratories Rex R. Kiziah, USAF Academy John T. McGraw and Peter C. Zimmer, J.T. McGraw & Associates Abstract Wide field-of-view optical systems are currently finding significant use for applications ranging from exoplanet search to space situational awareness. Systems ranging from small camera lenses to the 8.4-meter Large Synoptic Survey Telescope are designed to image large areas of the sky with increased search rate and scientific utility. An interesting issue with wide-field systems is the known compromises in aperture efficiency. They either use only a fraction of the available aperture or have optical elements with diameters larger than the optical aperture of the system. In either case, the complete aperture of the largest optical component is not fully utilized for any given field point within an image. System costs are driven by optical diameter (not aperture), focal length, optical complexity, and field-of-view. It is important to understand the optical design trade space and how cost, performance, and physical characteristics are influenced by various observing requirements. This paper examines the aperture efficiency of refracting and reflecting systems with one, two and three mirrors. Copyright © 2018 Advanced Maui Optical and Space Surveillance Technologies Conference (AMOS) – www.amostech.com Introduction Optical systems exhibit an apparent falloff of image intensity from the center to edge of the image field as seen in Figure 1. This phenomenon, known as vignetting, results when the entrance pupil is viewed from an off-axis point in either object or image space. -
12 Considerations for Thermal Infrared Camera Lens Selection Overview
12 CONSIDERATIONS FOR THERMAL INFRARED CAMERA LENS SELECTION OVERVIEW When developing a solution that requires a thermal imager, or infrared (IR) camera, engineers, procurement agents, and program managers must consider many factors. Application, waveband, minimum resolution, pixel size, protective housing, and ability to scale production are just a few. One element that will impact many of these decisions is the IR camera lens. USE THIS GUIDE AS A REFRESHER ON HOW TO GO ABOUT SELECTING THE OPTIMAL LENS FOR YOUR THERMAL IMAGING SOLUTION. 1 Waveband determines lens materials. 8 The transmission value of an IR camera lens is the level of energy that passes through the lens over the designed waveband. 2 The image size must have a diameter equal to, or larger than, the diagonal of the array. 9 Passive athermalization is most desirable for small systems where size and weight are a factor while active 3 The lens should be mounted to account for the back athermalization makes more sense for larger systems working distance and to create an image at the focal where a motor will weigh and cost less than adding the plane array location. optical elements for passive athermalization. 4 As the Effective Focal Length or EFL increases, the field 10 Proper mounting is critical to ensure that the lens is of view (FOV) narrows. in position for optimal performance. 5 The lower the f-number of a lens, the larger the optics 11 There are three primary phases of production— will be, which means more energy is transferred to engineering, manufacturing, and testing—that can the array. -
AG-AF100 28Mm Wide Lens
Contents 1. What change when you use the different imager size camera? 1. What happens? 2. Focal Length 2. Iris (F Stop) 3. Flange Back Adjustment 2. Why Bokeh occurs? 1. F Stop 2. Circle of confusion diameter limit 3. Airy Disc 4. Bokeh by Diffraction 5. 1/3” lens Response (Example) 6. What does In/Out of Focus mean? 7. Depth of Field 8. How to use Bokeh to shoot impressive pictures. 9. Note for AF100 shooting 3. Crop Factor 1. How to use Crop Factor 2. Foal Length and Depth of Field by Imager Size 3. What is the benefit of large sensor? 4. Appendix 1. Size of Imagers 2. Color Separation Filter 3. Sensitivity Comparison 4. ASA Sensitivity 5. Depth of Field Comparison by Imager Size 6. F Stop to get the same Depth of Field 7. Back Focus and Flange Back (Flange Focal Distance) 8. Distance Error by Flange Back Error 9. View Angle Formula 10. Conceptual Schema – Relationship between Iris and Resolution 11. What’s the difference between Video Camera Lens and Still Camera Lens 12. Depth of Field Formula 1.What changes when you use the different imager size camera? 1. Focal Length changes 58mm + + It becomes 35mm Full Frame Standard Lens (CANON, NIKON, LEICA etc.) AG-AF100 28mm Wide Lens 2. Iris (F Stop) changes *distance to object:2m Depth of Field changes *Iris:F4 2m 0m F4 F2 X X <35mm Still Camera> 0.26m 0.2m 0.4m 0.26m 0.2m F4 <4/3 inch> X 0.9m X F2 0.6m 0.4m 0.26m 0.2m Depth of Field 3. -
The Trade-Off Between Image Resolution and Field of View: the Influence of Lens Selection
The Trade-off between Image Resolution and Field of View: the Influence of Lens Selection “I want a lens that can cover the whole parking lot and I want to be able to read a license plate.” Sound familiar? As a manufacturer of wide angle lenses, Theia Technologies is frequently asked if we have a product that allows the user to do both of these things simultaneously. And the answer is ‘it depends’. It depends on several variables - the resolution you start with from the camera, how far away the subject is from the lens, and the field of view of the lens. But keeping the first two variables constant, the impact of the lens field of view becomes clear. One of the important factors to consider when designing video surveillance installations is the trade-off between lens field of view and image resolution. Image Resolution versus Field of View One important, but often neglected consideration in video surveillance systems design is the trade-off between image resolution and field of view. With any given combination of camera and lens the native resolution from the camera is spread over the entire field of view of the lens, determining pixel density and image resolution. The wider the resolution is spread, the lower the pixel density, the lower the image resolution or image detail. The images below, taken with the same camera from the same distance away, illustrate this trade-off. The widest field of view allows you to cover the widest area but does not allow you to see high detail, while the narrowest field of view permits capture of high detail at the expense of wide area coverage. -
Calumet's Digital Guide to View Camera Movements
Calumet’sCalumet’s DigitalDigital GuideGuide ToTo ViewView CameraCamera MovementsMovements Copyright 2002 by Calumet Photographic Duplication is prohibited under law Calumet Photographic Chicago IL. Copies may be obtained by contacting Richard Newman @ [email protected] What you can expect to find inside 9 Types of view cameras 9 Necessary accessories 9 An overview of view camera lens requirements 9 Basic view camera movements 9 The Scheimpflug Rule 9 View camera movements demonstrated 9 Creative options There are two Basic types of View Cameras • Standard “Rail” type view camera advantages: 9 Maximum flexibility for final image control 9 Largest selection of accessories • Field or press camera advantages: 9 Portability while maintaining final image control 9 Weight Useful and necessary Accessories 9 An off camera meter, either an ambient or spot meter. 9 A loupe to focus the image on the ground glass. 9 A cable release to activate the shutter on the lens. 9 Film holders for traditional 4x5 film holder image capture. 9 A Polaroid back for traditional test exposures, to check focus or final art. VIEW CAMERA LENSES ARE DIVIDED INTO THREE GROUPS, WIDE ANGLE, NORMAL AND TELEPHOTO WIDE ANGLES LENSES WOULD BE FROM 38MM-120MM FOCAL LENGTHS FROM 135-240 WOULD BE CONSIDERED NORMAL TELEPHOTOS COULD RANGE FROM 270MM-720MM FOR PRACTICAL PURPOSES THE FOCAL LENGTHS DISCUSSED ARE FOR 4X5” FORMAT Image circle- The black lines are the lens with no tilt and the red lines show the change in lens coverage with the lens tilted. If you look at the film plane, you can see that the tilted lens does not cover the film plane, the image circle of the lens is too small with a tilt applied to the camera. -
Intro to Digital Photography.Pdf
ABSTRACT Learn and master the basic features of your camera to gain better control of your photos. Individualized chapters on each of the cameras basic functions as well as cheat sheets you can download and print for use while shooting. Neuberger, Lawrence INTRO TO DGMA 3303 Digital Photography DIGITAL PHOTOGRAPHY Mastering the Basics Table of Contents Camera Controls ............................................................................................................................. 7 Camera Controls ......................................................................................................................... 7 Image Sensor .............................................................................................................................. 8 Camera Lens .............................................................................................................................. 8 Camera Modes ............................................................................................................................ 9 Built-in Flash ............................................................................................................................. 11 Viewing System ........................................................................................................................ 11 Image File Formats ....................................................................................................................... 13 File Compression ......................................................................................................................