Unformatted text preview:

Image Processing BasicsWhat are images?Pixels as samplesImages are UbiquitousProperties of ImagesImage errorsTwo issuesSampling and reconstructionAliasingAliasing in computer graphicsSpatial AliasingSpatial aliasingSlide 13Temporal aliasingAntialiasingSampling TheorySpectral AnalysisFourier TransformSlide 19Sampling theoremFiltering and convolutionFiltering, sampling and image processingResamplingSlide 24Ideal low pass filterImage processing in practicePowerPoint PresentationFinite low pass filtersSlide 29Edge DetectionScalingImage processingSummaryImage Processing BasicsWhat are images?An image is a 2-d rectilinear array of pixelsPixels as samplesA pixel is a sample of a continuous functionImages are UbiquitousInputOptical photoreceptorsDigital camera CCD arrayRays in virtual camera (why?)OutputTVsComputer monitorsPrintersProperties of ImagesSpatial resolutionWidth pixels/width cm and height pixels/ height cmIntensity resolutionIntensity bits/intensity range (per channel)Number of channelsRGB is 3 channels, grayscale is one channelImage errorsSpatial aliasingNot enough spatial resolutionIntensity quantizationNot enough intensity resolutionTwo issuesSampling and reconstructionCreating and displaying images while reducing spatial aliasing errorsHalftoning techniquesDealing with intensity quantizationSampling and reconstructionAliasingArtifacts caused by too low sampling frequency (undersampling) or improper reconstructionUndersampling rate determined by Nyquist limit (Shannon’s sampling theorem)Aliasing in computer graphicsIn graphics, two major typesSpatial aliasingProblems in individual imagesTemporal aliasingProblems in image sequences (motion)Spatial Aliasing“Jaggies”Spatial aliasingRef: SIGGRAPH aliasing tutorialSpatial aliasingTexture disintegrationRef: SIGGRAPH aliasing tutorialTemporal aliasingStrobingStagecoach wheels in moviesFlickeringMonitor refresh too slowFrame update rate too slowCRTs seen on other video screensAntialiasingSample at a higher rateWhat if the signal isn’t bandlimited?What if we can’t do this, say because the sampling device has a fixed resolution?Pre-filter to form bandlimited signalLow pass filterTrades aliasing for blurringNon-uniform samplingNot always possible, done by your visual system, suitable for ray tracingTrades aliasing for noiseSampling TheoryTwo issuesWhat sampling rate suffices to allow a given continuous signal to be reconstructed from a discrete sample without loss of information?What signals can be reconstructed without loss for a given sampling rate?Spectral AnalysisSpatial (time) domain: Frequency domain:Any (spatial, time) domain signal (function) can be written as a sum of periodic functions (Fourier)Fourier TransformFourier TransformFourier transform:Inverse Fourier transform:dxexfuFxui2)()(dueuFxfxui2)()(Sampling theoremA signal can be reconstructed from its samples if the signal contains no frequencies above ½ the sampling frequency.-Claude ShannonThe minimum sampling rate for a bandlimited signal is called the Nyquist rateA signal is bandlimited if all frequencies above a given finite bound have 0 coefficients, i.e. it contains no frequencies above this bound.Filtering and convolutionConvolution of two functions (= filtering):Convolution theorem:Convolution in the frequency domain is the same as multiplication in the spatial (time) domain, andConvolution in the spatial (time) domain is the same as multiplication in the frequency domaindxhfxhxfxg )()()()()(Filtering, sampling and image processingMany image processing operations basically involve filtering and resampling.BlurringEdge detectionScalingRotationWarpingResamplingConsider reducing the image resolution:ResamplingThe problem is to resample the image in such a way as to produce a new image, with a lower resolution, without introducing aliasing.Strategy-Low pass filter transformed image by convolution to form bandlimited signalThis will blur the image, but avoid aliasingIdeal low pass filterFrequency domain:Spatial (time) domain:xxxsync)sin()( Image processing in practiceUse finite, discrete filters instead of infinite continous filtersConvolution is a summation of a finite number of terms rather than in integral over an infinite domainA filter can now be represented as an array of discrete terms (the kernel)nnxhfxhxfxg)()()()()(Discrete ConvolutionFinite low pass filtersTriangle filterFinite low pass filtersGaussian filterEdge DetectionConvolve image with a filter that finds differences between neighboring pixels 111181111filterScalingResample with a gaussian or triangle filterImage processingSome other filtersSummaryImages are discrete objectsPixels are samplesImages have limited resolutionSampling and reconstructionReduce visual artifacts caused by aliasingFilter to avoid undersamplingBlurring (and noise) are preferable to


View Full Document

UT CS 354 - Image Processing Basics

Download Image Processing Basics
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Image Processing Basics and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Image Processing Basics 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?