Implementation of Generalized Unsharp Masking Algorithm for Digital Image IMPLEMENTATION of GENERALIZED UNSHARP MASKING ALGORITHM for DIGITAL IMAGE

Total Page:16

File Type:pdf, Size:1020Kb

Implementation of Generalized Unsharp Masking Algorithm for Digital Image IMPLEMENTATION of GENERALIZED UNSHARP MASKING ALGORITHM for DIGITAL IMAGE Implementation Of Generalized Unsharp Masking Algorithm For Digital Image IMPLEMENTATION OF GENERALIZED UNSHARP MASKING ALGORITHM FOR DIGITAL IMAGE 1GANESH A. YELPALE, 2K.R.DESAI B.V.C.E,Kolhapur. Kolhapur, India. Abstract— Enhancement of contrast and sharpness of an imageis required in many applications. Unsharp masking is a classical tool for sharpness enhancement. We propose a generalized unsharp masking algorithm using the exploratory data model as a unified framework. The proposed algorithm is designed to address three issues: 1) simultaneously enhancing contrast and sharpness by means of individual treatment of the model component and the residual, 2) reducing the halo effect by means of an edge-preserving filter, and 3) solving the outof- range problem by means of log-ratio and tangent operations. We also present a study of the properties of the log-ratio operations and reveal a new connection between the Bregman divergence and the generalized linear systems. This connection not only provides a novel insight into the geometrical property of such systems, but also opens a new pathway for system development. We present a new system called the tangent system which is based upon a specific Bregman divergence. The proposed algorithm is able to significantly improve the contrast and sharpness of an image. In the proposed algorithm, the user can adjust the two parameters controlling the contrast and sharpness to produce the desired results. This makes the proposed algorithm practically useful. Keywords- Bregman divergence, generalized linear system, image enhancement, unsharp masking. I. INTRODUCTION algorithm is based upon the imaging model in which the observed image is formed by the product of scene Enhancement the sharpness and contrast of images reflectance and luminance. The task is to estimate the has many practical applications. There has been reflectance from the observation. Many algorithms continuous research into the development of new use the assumption that the luminance isspatially algorithms. We first briefly review previous works smooth. The illuminance is estimated by using a low- which are directly related to our work. These related pass filter or multi resolution or formulating the works include unsharp masking and its variants, estimating problem as a constrained optimization histogram equalization, retinex and dehazing problem [7]. To reduce the halo effect, edge- algorithms, and generalized linear systems. We then preserving filters such as: adaptive Gaussian filter [8], describe the motivation and contribution of this weighted least-squares based filters [9] and bilateral paper. filters [7], [10] are used. II. RELATED WORK III. CLASSICAL UNSHARP MASKING Sharpness and Contrast Enhancement: the signal A) Introduction contains i) details of the image, ii) noise, and iii) Proper sharpening is a bit like black magic. We can't overshoots and under-shoots in areas of sharp edges really sharpen an image any more than it already is. If due to the smoothing of edges. While the it wasn't sharp when captured, there's nowhere the enhancement of noise isclearly undesirable, the information needed can come from later on. What we enhancement of the under-shoot and over-shoot can do is create the illusion of sharpness by creates the visually unpleasant halo effect.Ideally, the exaggerating contrast along edges in the image. This algorithm should only enhance the image details. This added contrast makes the edges stand out more, requires that the filter is not sensitive to noise and making them appear sharper. Sharpening filters does not smooth sharp edges. These issues have been emphasize the edges in the image, or the differences studied by many researchers. For example, the cubic between adjacent light and dark sample points in an filter [1] and the edge-preserving filters [2] have been image. Unsharp masking (UM) is an image used to replace the linear low-pass filter. The former manipulation technique, often available in digital is less sensitive to noise and the latter does not image processing software. The "unsharp" of the smooth sharp edges. Adaptive gain control has also name derives from the fact that the technique uses a been studied [3]. Contrast is a basic perceptual blurred, or "unsharp," positive to create a "mask" of attribute of an image [4]. It is difficult to see the the original image. The unsharped mask is then details in a low contrast image. Adaptive histogram combined with the negative, creating the illusion that equalization [5], [6] is frequently used for contrast the resulting image is sharper than the original. From enhancement. The retinex algorithm, first proposed a standpoint, an unsharp mask is generally a linear by Land has been recently studied by many ornonlinear filter that amplifies high-frequency researchers for manipulating contrast, sharpness, and components. B) Unsharp masking process The dynamic range of digital images. The retinex sharpening process works by utilizing a Proceedings of 10th IRAJ International Conference, 27th October 2013, Tirupati, India. ISBN: 978-93-82702-36-8 90 Implementation Of Generalized Unsharp Masking Algorithm For Digital Image slightly blurred version of the original image. This is then subtracted away from the original to detect the presence of edges, creating the unsharp mask (effectively a high-pass filter). Step 1: Detect Edges and Create Mask The classical unsharp masking algorithm can be represented by equation V=y+γ(x-y) where x is the input image y, is the result of a linear low-pass filter and the gain γ (γ>0) is a real scaling factor. The signal d=x-y is usually amplified (γ>1) to increase the sharpness. However, the signal contains 1) details of the image, 2) noise, and 3) over-shoots and under- shoots in areas of sharp edges due to the smoothing of edges. While the enhancement of noise is clearly undesirable, the enhancement of the under-shoot and overshoot creates the visually unpleasant halo effect. Ideally, the algorithm should only enhance the image details. This requires that the filter is not sensitive to noise and does not smooth sharp edges. These issues have been studied by many researchers. For example, the cubic filter and the edge-preserving filters have been used to replace the linear low-pass filter. The former is less sensitive to noise and the latter does not smooth sharp edges. Adaptive gain control has also been studied .Contrast is a basic perceptual attribute of an image. It is difficult to see the details in a low contrast image. Adaptive histogram equalization is frequently used for contrast enhancement. Halo effect: The UnSharp Mask is wonderful magic, but still,excessive and improper use of its parameters can produce artificial images with bizarre problems. Such problems can include overly contrasty images, edges that look like halos around objects, jagged edges, and specked or mottled areas, like faces with bad complexions. So if this might be your problem, back off, and practice moderation. The "mask overlay" is when image information from the layer above the unsharp mask passes through and replaces the layer below in a way which is proportional to brightness in that region of the mask. C) Unsharp masking algorithm Fig.1 Halo effect Proceedings of 10th IRAJ International Conference, 27th October 2013, Tirupati, India. ISBN: 978-93-82702-36-8 91 Implementation Of Generalized Unsharp Masking Algorithm For Digital Image This tiny image is a simple three tone graphic image In the proposed algorithm, the user can adjust the two containing two contrast edges, shown unsharpened on parameters controlling the contrast and sharpness to the left, and sharpened with the Unsharp Mask on the produce the desired results. This makes the proposed right. It is also shown greatly enlarged about 10X so algorithm practically useful. These related works the pixels canbe seen well. Remember about anti- include unsharp masking and its variants, histogram aliasing blending the edges with intermediate tones equalization, retinex and de-hazing algorithms, and (usually only on angled or jagged edges). Unsharp generalized linear systems. It has been recently Mask is the opposite, it involves making the pixels on studied by many researchers for manipulating the light side of the edge even lighter, and making the contrast, sharpness, and dynamic range of digital pixels on the dark side of the edge even darker, as images. The retinex algorithm is based upon the shown, to increase edge contrast. This then shows the imaging model in which the observed image is edge better, therefore we perceive the edge to be formed by the product of scene reflectance and sharper. Give this a little thought, because the same illuminance. The task is to estimate the reflectance effect happens to all of the edges in your photograph from the observation. Many algorithms use the with the Unsharp Mask. This image also assumption that the illuminance is spatially smooth. demonstrates the halo effect due to too much Enhancement of contrast and sharpness of an image is sharpening. required in many applications. Unsharp masking is a classical tool for sharpness enhancement. We propose IV. PHOTOGRAPHIC UNSHARP a generalized unsharp masking algorithm using the MASKING exploratory data model as a unified framework. The proposed algorithm is designed to address three The technique was first used in Germany in the 1930s issues: 1) simultaneously enhancing contrast and as a way of increasing the acutance, or apparent sharpness by means of individual treatment of the sharpness, of photographic images. In the model component and the residual. 2) Reducing the photographic process, a large-format glass plate halo effect by means of an edgepreserving filter. 3) negative is contactcopied onto a low contrast film or Solving the out-of-range problem by means of log- plate to create a positive. However, the positive copy ratio and tangent operations. Block diagram of is made with the copy material in contact with the Generalized unsharp masking algorithm shown in back of the original, rather than emulsion-to- Fig.2, is based upon the previous image model and emulsion, so it is blurred.
Recommended publications
  • Sharpening Scanned Images
    Sharpening scanned images Shortly after the launch of Photoshop CS3, Adobe released a Camera Raw 4.1 update which greatly enhanced the capture sharpening capabilities in Camera Raw. In my view, this new feature changed the Photoshop workflow completely, such that everything I had written in my CS3 book about sharpening was immediately out-of-date. As you will have read in the book, I now advocate using Camera Raw to capture sharpen all your raw images and there is also no reason why you can’t also use Camera Raw capture sharpening to sharpen (as yet unsharpened) scanned TIFF images. Having said that, I do realize that some people may prefer to carry out everything in Photoshop. For those readers I have made the Photoshop capture sharpening method instructions still available in this PDF. Image sharpening It is an unavoidable fact that image detail will progressively become lost at critical stages of the digital image making process. Without corrective sharpening, a printed image will appear softer than expected. This is by no means a new phenomenon or one that is unique to digital imaging. The problems begin as soon as you focus the subject in your viewfinder and press the shutter release. The first variable is the camera lens. Most photographers are all too aware that cheaper inferior lenses will produce less sharp pictures, but the film emulsion can also influence the sharpness, as can the quality of the digital sensor and the number of photosites on the sensor chip. If you are shooting film, then you will have to scan a chrome transparency, negative or photographic print made with a darkroom enlarger (which involves yet another optical step).
    [Show full text]
  • Generalized Unsharp Masking Algorithm for Contrast and Sharpness
    International Refereed Journal of Engineering and Science (IRJES) ISSN (Online) 2319-183X, (Print) 2319-1821 Volume 2, Issue 9 (September 2013), PP. 73-90 Generalized Unsharp Masking Algorithm for Contrast And Sharpness Bharathi1,N Santosh2,A Sonthosh3 1,2,3 ECE Dept, Sree Dattha Institute of Engineering & Science ABSTRACT: In the applications like medical radiography enhancing movie features and observing the planets it is necessary to enhance the contrast and sharpness of an image. The model propose a generalized unsharp masking algorithm using the exploratory data model as a unified framework. The proposed algorithm is designed as to solve simultaneously enhancing contrast and sharpness by means of individual treatment of the model component and the residual, reducing the halo effect by means of an edge-preserving filter, solving the out of range problem by means of log ratio and tangent operations. Here is a new system called the tangent system which is based upon a specific bargeman divergence. Experimental results show that the proposed algorithm is able to significantly improve the contrast and sharpness of an image. Using this algorithm user can adjust the two parameters the contrast and sharpness to have desired output Index Terms: Bregman divergence, exploratory data model, generalized linear system, image enhancement, unsharp masking. I. INTRODUCTION A digital gray image is a simple two dimensional matrix of numbers ranging from 0 to 255. These numbers represents different shades of gray. The number „0‟ represents pure black color and number „255‟ represents pure white color. 1.1 Image Enhancement The aim of image enhancement is to improve the interpretability or perception of information in images for human viewers, or to provide `better' input for other automated image processing techniques.
    [Show full text]
  • An Unsharp Masking Algorithm Embedded with Bilateral Filter System for Enhancement of Aerial Photographs
    International Journal of Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, Volume-8 Issue-4, November 2019 An Unsharp Masking Algorithm Embedded With Bilateral Filter System for Enhancement of Aerial Photographs D. Regan, C. Padmavathi Abstract: Human visual system is more sensitive to edges and It is essential to retain he pixels’ value while removing noise ridges in the images which composed of high spatial frequency in the image. Generally, image filtering makes blurring of components. Digital images having more spatial variations may abrupt intensity pixels’ value into blurred which will be contain informative content than their counterparts. Remote sensing images are one of those categories covering different significant loss of information. It is necessary to have edge aspects of land surface variations, aerial photographs are preserving ability algorithm to process the noise affected obtained on board image sensors on flying platform. Aerial pixels to be edge retained after denoising step. Bilateral photographs represent the land surfaces consists of textural and filter is a kind of non-linear edge preserving filter used structural objects make more presence of edges. Interpolating widely for image denoising with edges preserved [6]. information of aerial photographs become clumsy when the Contrast of the image will be not improved during denoising pixels are corrupted with noises at different density of levels. The kind of aerialphotographsare acquired in various way such as process, as all image denoising filtering algorithms do only multi/hyper spectral sensors on board of satellites or the planes, noise removal process. To have improved contrast of the by synthetic aperture radar (SAR) in remote sensing.
    [Show full text]
  • In Vivo Confocal Microscopy in Turbid Media
    In Vivo Confocal Microscopy In Turbid Media Daniel S. Gareau B.S., Electrical Engineering, University of Vermont, Burlington, Vermont (1999) M.S., Electrical Engineering, Oregon Graduate Institute of Science & Technology, Beaverton, Oregon (2001) A thesis presented jointly to faculty of the OGI School of Science & Engineering at Oregon Health & Science University in partial fulfillment of the requirements for the degree Doctor of Philosophy in Biomedical Engineering. December 2006 © 2006 Dan Gareau ii The dissertation “Confocal Microscopy in Turbid Media and mice” by Daniel Gareau has been examined and approved by the following Examination Committee: Steven L. Jacques Professor Thesis Research Advisor Scott A. Prahl Assistant Professor Sean J. Kirkpatrick Associate Professor Molly Kulesz-Martin Professor iii Acknowledgments Sometimes, when I see how awesomely beautiful and insanely robust nature is I just want to give up. Who are we humans (victims of seeing only what we want to see) to even attempt to understand the natural world and ourselves? Then I remember that it’s already inside us and quite literally composes every fiber of our being. The time for “otherization” is over. The outward quest for the universe is only matched by the inward quest for the essence of our being. This quest requires tools like microscopes. Observation of the intense microscopic complexity of living tissue with optical microscopes requires building blocks such as knowing how light acts and interacts. This bottom-up approach, which starts with known properties of the building blocks and works toward microscope synthesis, is complemented by the top-down approach of biology which starts with the organism and work toward the properties of the building blocks.
    [Show full text]
  • Effects of Image Filters on Video Similarity Search
    Effects of Image Filters on Video Similarity Search Ruochen Liu Department of Computer Science Columbia University [email protected] Directed Research Report - Fall 2020 Advisor: Prof. John Kender January 3, 2021 Abstract Videos with approximate topics can contain similar frames at different timestamps. To ease frame alignment, one idea is to improve frame quality using image enhancement techniques such as denoising and sharpening. Through experiments, Gaussian blur shows improvements in the similarity search. 1 Introduction Video similarity search is a computer vision task that aligns similar frames among different videos. This task can help compare video preferences of differing affinity groups over the identical topics. To improve the search task, this paper studies the effects of three image enhancement techniques on different videos: Gaussian blur, unsharp masking, and grayscale. Intuitively, Gaussian blur removes noises or "incorrect information" while unsharp masking emphasizes edges or "correct information". Grayscale removes colors as "noise". The goal is to see whether or not these filters make similar frames more similar and distinct frames more distinct. This paper will discuss the experiment procedures and results. The source code is available here. 2 Methods 2.1 Data Selection YouTube is the primary video source and the video type is limited to news. Eight videos are selected and categorized into four groups: • Noisy: on-scene footage with high level of noise • Still: interviews with still backgrounds • Dynamic: on-scene footage involving several movements • Dark: dark backgrounds, high foreground-background contrast 1 Videos are then separated into frames using ffmpeg with one frame per second: ffmpeg -i <input_video> -r1/1 <output_directory>/%03d.png Some frames are arbitrarily removed due to lack of information.
    [Show full text]
  • Falcon Extra - Release Notes / News
    Lohenstr. 16, 82166 Gräfelfing-Lochham, Germany Tel.: +49 89 85 10 88, Fax +49 89 85 10 27 e-Mail: [email protected], www.falcon.de FalCon eXtra - Release Notes / News Version 8 User Interface New Features analog to MS Office 2010: Main toolbar now in window title. Backstage View for a clear access to all functions, which have been spread under "File", "About" and "License". File types are shown with big icons during "Open" or "Last Used". Start via big round button with red X. Tab line for all open documents in the bottom of the main window (switch on/off via program settings). Dialog themes partially refreshed. Note: Under Windows 7 the corresponding Dll for opening help texts might be not installed. Follow the link in the shown message box to install the correct language and version dependent Microsoft Dll. Common Setup files signed with certificate. New: New picture from clipboard. Open dialog: Even after several changes of the file type the last used directory of the selected type will be preset. The directory is only kept, if the user has changed/set it actively. Program Settings: Multiple program start can be checked. Change of registered file types (see Program Settings): restrictions under Windows 7 possible depending on the current user rights. Main toolbar: New button "R" for reset of several window layouts as well as reset of picture optimization parameters and file type registrations. QuickView New: Insert logo: button for "white = transparent or opaque". Insert logo "Adaptive": now for any angle and zoom as well any logo size valid; changes of the values via spin-buttons: +- 1 pixel, 0.5 deg or 0.5 % or while pressing Ctrl key * factor 10.
    [Show full text]
  • Improving the Sharpness of Digital Image Using an Amended Unsharp Mask Filter
    I.J. Image, Graphics and Signal Processing, 2019, 3, 1-9 Published Online March 2019 in MECS (http://www.mecs-press.org/) DOI: 10.5815/ijigsp.2019.03.01 Improving the Sharpness of Digital Image Using an Amended Unsharp Mask Filter Zohair Al-Ameen, Alaa Muttar and Ghofran Al-Badrani Department of Computer Science, College of Computer Science and Mathematics, University of Mosul, Mosul, Nineveh, Iraq Emails: [email protected], [email protected], [email protected] Received: 30 November 2018; Accepted: 18 December 2018; Published: 08 March 2019 Abstract—Many of the existing imaging systems produce photographic and printing industries for improving the images with blurry appearance due to various existing apparent sharpness (acutance) in digital images [4]. In limitations. Thus, a proper sharpening technique is general, many reasons exist to increase the sharpness of usually used to increase the acutance of the obtained an image, including overcoming the blur effect images. The unsharp mask filter is a well-known introduced by the camera equipment, drawing attention to sharpening technique that is used to recover acceptable specific image regions and improving the legibility. To quality results from their blurry counterparts. However, achieve the sharpening procedure, different techniques this filter often introduces an overshoot effect, which is exist, in which their complexities vary depending on their an undesirable effect that makes the recovered edges concept. Thus, a review of the literature regarding such appear with visible white shades around them. In this techniques is delivered in Section II of this article. article, an amended unsharp mask filter is developed to Among the existing techniques, the unsharp mask filter sharpen different digital images without introducing the has received significant attention from researchers in the overshoot effect.
    [Show full text]
  • Blurriness‑Guided Unsharp Masking
    This document is downloaded from DR‑NTU (https://dr.ntu.edu.sg) Nanyang Technological University, Singapore. Blurriness‑guided unsharp masking Ye, Wei; Ma, Kai‑Kuang 2018 Ye, W., & Ma, K.‑K. (2018). Blurriness‑guided unsharp masking. IEEE Transactions on Image Processing, 27(9), 4465‑4477. doi:10.1109/TIP.2018.2838660 https://hdl.handle.net/10356/103581 https://doi.org/10.1109/TIP.2018.2838660 © 2018 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. The published version is available at: https://doi.org/10.1109/TIP.2018.2838660. Downloaded on 28 Sep 2021 22:35:33 SGT Blurriness-Guided Unsharp Masking Wei Ye and Kai-Kuang Ma , Fellow, IEEE Abstract— In this paper, a highly-adaptive unsharp the input image. Alternatively, a linear shift-invariant high- masking (UM) method is proposed and called the blurriness- pass filter (e.g., the Laplacian filter) can be exploited to guided UM, or BUM, in short. The proposed BUM exploits the extract the detail layer first, followed by subtracting it from estimated local blurriness as the guidance information to perform pixel-wise enhancement. The consideration of local blurriness is the input image to generate the base layer. In the second stage, motivated by the fact that enhancing a highly-sharp or a highly- the obtained detail layer from either of the above-mentioned blurred image region is undesirable, since this could easily yield approaches is amplified by multiplying a scaling factor and unpleasant image artifacts due to over-enhancement or noise then added back to the base layer to generate the enhanced enhancement, respectively.
    [Show full text]
  • An Analysis of Available Unsharp Masking Techniques Used with Mid-Range PMT/Drum Scanners Eric Neumann
    Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 5-1-1998 An Analysis of available unsharp masking techniques used with mid-range PMT/drum scanners Eric Neumann Follow this and additional works at: http://scholarworks.rit.edu/theses Recommended Citation Neumann, Eric, "An Analysis of available unsharp masking techniques used with mid-range PMT/drum scanners" (1998). Thesis. Rochester Institute of Technology. Accessed from This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact [email protected]. An Analysis of Available UnSharp Masking Techniques Used With Mid-Range PMT/Drum Scanners by Eric Louis Neumann A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in the School of Printing Management and Sciences in the College of Imaging Arts and Sciences at the Rochester Institute of Technology May 1998 Thesis Advisor: Professor Joseph L. Noga School of Printing Management and Sciences Rochester Institute of Technology Rochester, New York Master's Thesis Certificate of Approval This is to certify that the Master's Thesis of Eric Louis Neumann With a major in Graphic Arts Publishing has been approved by the Thesis Committee as satisfactory for the thesis requirement for the Master of Science degree at the convocation of May 1998 Thesis Committee: Joseph L. Noga Thesis Advisor Marie Freckleton Graduate Program Coordinator C. Harold Goffin Director or Designate An Analysis of Available UnSharp Masking Techniques Used With Mid-Range PMT/Drum Scanners I, Eric Louis Neumann, prefer to be contacted each time a request for reproduction is made.
    [Show full text]
  • Quantification of the Unsharp Masking Technique of Image Enhancement
    Rochester Institute of Technology RIT Scholar Works Theses 6-19-1981 Quantification of the unsharp masking technique of image enhancement Larry A. Scarff Follow this and additional works at: https://scholarworks.rit.edu/theses Recommended Citation Scarff, Larry A., "Quantification of the unsharp masking technique of image enhancement" (1981). Thesis. Rochester Institute of Technology. Accessed from This Thesis is brought to you for free and open access by RIT Scholar Works. It has been accepted for inclusion in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact [email protected]. QUANTIFICATION OF THE UNSHARP MASKING TECHNIQUE OF IMAGE ENHANCEMENT by Larry A. Scarff QUANTIFICATION OF THE UNSHARP MASKING TECHNIQUE OF IMAGE ENHANCEMENT by Larry A. Scarff B.S. Rochester Institute of Technology (1981) A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in the School of Photographic Arts and Sciences in the College of Graphic Arts and Photography of the Rochester Institute of Technology June, 1981 Larry A. Scarff Signature of the Author ••••.•••..••••••••••••.•••••••.•.•••• Photographic Science and Instrumentation Ronald Francis Accepted by .....•........................................... Coordinator, Graduate Program School of Photographic Arts and Sciences Rochester Institute of Technology Rochester, New York CERTIFICATE OF APPROVAL MASTER'S THESIS The Master's Thesis of Larry A. Scarff has been examined and approved by the thesis committee as satisfactory for the thesis requirement for the Master of Science degree · ......................................Edward Granger . Dr. Edward M. Granger, Thesis Advisor John F. Carson • ••••••••••••••••••••• j ••••••••••••••••• Professor John F. Carson · ......................................John Schott . Dr. John Schott ·.... ·. ~D~f~ r· ·. !.t l:!.
    [Show full text]
  • Brno University of Technology Attractive
    BRNO UNIVERSITY OF TECHNOLOGY VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ FACULTY OF INFORMATION TECHNOLOGY FAKULTA INFORMAČNÍCH TECHNOLOGIÍ DEPARTMENT OF COMPUTER GRAPHICS AND MULTIMEDIA ÚSTAV POČÍTAČOVÉ GRAFIKY A MULTIMÉDIÍ ATTRACTIVE EFFECTS FOR VIDEO PROCESSING LÍBIVÉ EFEKTY PRO ZPRACOVÁNÍ VIDEA BACHELOR’S THESIS BAKALÁŘSKÁ PRÁCE AUTHOR MARTIN IVANČO AUTOR PRÁCE SUPERVISOR PRof. Ing. ADAM HEROUT, PhD. VEDOUCÍ PRÁCE BRNO 2018 Abstract The goal of this work was to create a server solution capable of applying visually pleasing effects to live video streams. The processed video shall then be displayed in awebuser interface allowing the user to adjust the applied effects. This goal is achieved by creating a video processing application connected to a web server using a RPC framework. The video generated by this application is streamed using HLS protocol enabling it to be displayed in the web user interface. The user interface is connected to the web server via WebSocket protocol. This enables the web server to connect the user interface with the video processing application. The created solution is accessible via a web user interface, which allows the user to submit video stream URL, which then gets displayed. The time required to load the stream is usually around 10 seconds, which could be much shorter if the solution ran on a more powerful machine. The user interface also enables the user to adjust the settings in a separate mode. In this mode, only a single frame from the stream is displayed, but the adjustments made by the user are displayed almost instantly. Abstrakt Cieľom tejto práce bolo vytvoriť serverové riešenie schopné aplikovať vizuálne atraktív- ne efekty na živé video streamy.
    [Show full text]
  • Unsharp Masking
    Unsharp Masking Contrast control and increased sharpness in B&W by Ralph W. Lambrecht An unsharp mask is a faint positive, made by contact printing a negative. The unsharp mask and the nega- tive are printed together after they have been precisely registered to a sandwich. There are two reasons to do this, the first being contrast control and the second being an increase in apparent sharpness. Unsharp masks have been used for some time to control the contrast in prints made from slide film. They can also be used for B&W prints when the nega- tive has an excessively high contrast due to overdevel- opment. The mask has typically no density in the high- lights, but has some density and detail in the shadows. Fig.9 shows how the sums of the densities result in a lower overall contrast when the mask is sandwiched with the negative. However, this chapter is not about using an unsharp mask to rescue an overdeveloped negative, but rather to utilize this technique to increase the apparent sharpness of the print. A word of warning may be appropriate at this point. This is not for every negative, but more importantly, it is not for every photogra- pher. It is a labor-intensive task to prepare a mask, and some printers may not be willing to spend the time involved to create one. The technique is very similar to a feature called ‘Unsharp Mask’ in the popular image software Adobe Photoshop, but usually takes several hours to execute in the darkroom. The masks need to be carefully planned and exposed with the enlarger light, then de- veloped and dried.
    [Show full text]