CS 376b Introduction to Computer Vision 03 / 21 / 2008 Instructor: Michael Eckmann.

Slides:



Advertisements
Similar presentations
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
CS 376b Introduction to Computer Vision 04 / 21 / 2008 Instructor: Michael Eckmann.
1 Texture Texture is a description of the spatial arrangement of color or intensities in an image or a selected region of an image. Structural approach:
1 Texture Texture is a description of the spatial arrangement of color or intensities in an image or a selected region of an image. Structural approach:
嵌入式視覺 Feature Extraction
Computer Vision Lecture 16: Texture
Chapter 8 Content-Based Image Retrieval. Query By Keyword: Some textual attributes (keywords) should be maintained for each image. The image can be indexed.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
September 10, 2013Computer Vision Lecture 3: Binary Image Processing 1Thresholding Here, the right image is created from the left image by thresholding,
CS 102 Computers In Context (Multimedia)‏ 03 / 20 / 2009 Instructor: Michael Eckmann.
CS 102 Computers In Context (Multimedia)‏ 04 / 20 / 2009 Instructor: Michael Eckmann.
1 Texture Texture is a description of the spatial arrangement of color or intensities in an image or a selected region of an image. Structural approach:
CS 325 Introduction to Computer Graphics 04 / 09 / 2010 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 08 / 2008 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 02 / 24 / 2010 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 11 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 16 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 03 / 26 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 04 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 27 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 18 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 25 / 2008 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 03 / 16 / 2009 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 04 / 29 / 2009 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 01 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 14 / 2008 Instructor: Michael Eckmann.
CS 106 Introduction to Computer Science I 04 / 09 / 2008 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 12 / 10 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 15 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 03 / 04 / 2008 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 01 / 28 / 2009 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 03 / 04 / 2008 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 09 / 19 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 02 / 2008 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 03 / 03 / 2010 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 29 / 2008 Instructor: Michael Eckmann.
CS 376 Introduction to Computer Graphics 02 / 12 / 2007 Instructor: Michael Eckmann.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
CS 376 Introduction to Computer Graphics 04 / 11 / 2007 Instructor: Michael Eckmann.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 04 / 26 / 2010 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 22 / 2008 Instructor: Michael Eckmann.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
CS 376 Introduction to Computer Graphics 02 / 23 / 2007 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 03 / 22 / 2010 Instructor: Michael Eckmann.
1 Artificial Intelligence: Vision Stages of analysis Low level vision Surfaces and distance Object Matching.
CS 376b Introduction to Computer Vision 04 / 28 / 2008 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 11 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 03 / 18 / 2008 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 04 / 12 / 2010 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 15 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 02 / 12 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 03 / 31 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
CS 325 Introduction to Computer Graphics 03 / 10 / 2010 Instructor: Michael Eckmann.
CS 325 Introduction to Computer Graphics 04 / 07 / 2010 Instructor: Michael Eckmann.
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
Another Example: Circle Detection
Computer Vision Lecture 16: Texture II
Fall 2012 Longin Jan Latecki
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Image Segmentation.
Fourier Transform of Boundaries
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Computer and Robot Vision I
Presentation transcript:

CS 376b Introduction to Computer Vision 03 / 21 / 2008 Instructor: Michael Eckmann

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Today’s Topics Comments/Questions Chapter 6 –color histograms

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Color Histograms To determine some match value between two image's histograms (say a largish input image and a smallish model image to try to determine if the model image is in the input image) we can do the following: compute the intersection of the histograms by –sum up over all bins the min histogram value in each bin then divide this sum by the number of pixels in the model image to get a match value –this value is not diminished due to background pixel colors in the input image that are not in the model the idea is that the higher the match value the more likely the model is contained within the image

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Color Histograms Other measures include distance measures where smaller values (little distance) implies similarity –sum of absolute value of differences (L1 distance)‏ –ssd = sum of squared differences –Euclidean distance = sqrt(ssd)‏ (L2 distance)‏ –... Let me give intuition into these measures by considering the 2d case on the board

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Color There is a section in our text 6.5, worth reading on color segmentation in relation to face detection. Read it, but it doesn't give enough details to understand the algorithm fully, however it does give a good overall discussion. The next section on shading is an important topic that I may cover if we end up covering a topic using shading, such as “shape from shading” in chapter 13.

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Segmentation Let's consider what ways you think we can segment images into separate regions.

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Segmentation Let's consider what ways you think we can segment images into separate regions. –similar intensities –similar colors –vs. –similar textures –vs. –similar motions

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Texture –can be used to segment images into regions –can be used to classify a region –can be used to compare regions What is texture? How do we quantify it?

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Texture Our text describes a few approaches –a) structural approach texels – book doesn't describe any detail on how they are determined but says that they are gotten from a simple thresholding procedure and then they are divided up into a pattern by a Voronoi tesselation (fig. 7.4 in “Computer Vision” by Shapiro and Stockman.)‏

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Texture Our text describes a few approaches –b) statistical approach compute values of textures from an image based on the intensities/colors it is an efficient approach that can be used to segment and classify (and then allow comparisons of textures)‏ several statistical approaches have been used/proposed

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Texture Edge detection and direction –number of edges in some (usually small) area –the directions of those edges Edgeness per unit area –# of edges / # pixels in region –can be grouped by magnitude of the edge into a histogram e.g. low medium and high magnitude edges can be computed separately into a 3 bin histogram The direction of edges could similarly be grouped into different histogram bins (e.g. 3 bins for horizontal, vertical and diagonal)‏

Texture We now have a quantitative description of the texture of a region by storing the two histograms (magnitude and direction of edges.)‏ in “Computer Vision” by Shapiro and Stockman Left = (0.24, 0.76) and (0.48, 0.52, 0)‏ Right = (0.0, 0.24) and (0.0, 0.0, 0.24)‏

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Texture These histograms can be compared using distance measures like we saw with the color histograms.

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Texture Local binary partitioning compute an eight bit binary number for each pixel –each bit represents the relationship between a pixel's intensities and one of it's 8-neighbors intensities –if the neighbor's intensity is <= the pixel's intensity then that bit is 0 –if the neighbor's intensity is > the pixel's intensity then that bit is 1 Use histograms of these binary numbers to describe the texture of an image region. Compare the histograms by a distance measure.

Michael Eckmann - Skidmore College - CS 376b - Spring 2008 Texture If you want to get a jump on the next programming assignment I am still working on the details but it will pull in quite a bit of the concepts we've covered –it will deal with finding edges in an image by convolving a few different masks –implementing a texture description scheme as just described and compare the textures with a few different distance measures –also create a color histogram matching scheme and compare the two –writeup of results and a discussion of the results