Download presentation
Presentation is loading. Please wait.
1
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE.09.452/ECE.09.552 Fall 2007 Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall07/dip/ Lecture 2 September 17, 2007
2
S. Mandayam/ DIP/ECE Dept./Rowan UniversityPlan Sampling & Quantization Pixel Operations Point processing Histogram equalization Connectivity Lab Project 1 individual pixels all pixels neighboring pixels
3
S. Mandayam/ DIP/ECE Dept./Rowan University DIP: Details
4
S. Mandayam/ DIP/ECE Dept./Rowan University Sampling & Quantization Sampling demos/demo1sampling_and_quantization/demo_sampling.m Quantization demos/demo1sampling_and_quantization/demo_quant.m
5
S. Mandayam/ DIP/ECE Dept./Rowan University Image Preprocessing Enhancement Restoration Spatial Domain Spectral Domain Point Processing >>imadjust >>histeq Spatial filtering >>filter2 Filtering >>fft2/ifft2 >>fftshift Inverse filtering Wiener filtering
6
S. Mandayam/ DIP/ECE Dept./Rowan University Point Processing (Intensity Transformation) s(x,y) = T{ r(x,y)} Transformed Gray Level Original Gray Level Transformation Function >>imadjdemo >>imadjust
7
S. Mandayam/ DIP/ECE Dept./Rowan University Point Processing 0 L-1 0 0 0 r s r s r1r1 r2r2 s1s1 s2s2 >>imadjdemo >>imadjust
8
S. Mandayam/ DIP/ECE Dept./Rowan University Image Histogram >>imadjdemo >>imhist
9
S. Mandayam/ DIP/ECE Dept./Rowan University Histogram Equalization (Balancing) >>imadjdemo >>histeq
10
S. Mandayam/ DIP/ECE Dept./Rowan University Pixel Connectivity (x+1,y-1) (x,y) (x+1,y) (x+1,y+1) (x,y+1) (x-1,y+1) (x-1,y-1) (x,y-1) (x-1,y) x y
11
S. Mandayam/ DIP/ECE Dept./Rowan University Labeling of Connected Components Begin scan Position: (x,y) p(x,y) = 1? p(x-1,y) = 1? p(x,y-1) = 1? p(x-1,y) AND p(x,y-1) = 1 class(x,y) = new class Update position (x,y) class(x,y) = class(x-1,y) class(x,y) = class(x,y-1) class(x-1,y) = class(x,y-1) All positions scanned? End scan y y y y y p(x-1,y) AND p(x,y-1) = 0 y
12
S. Mandayam/ DIP/ECE Dept./Rowan University Image Preprocessing Enhancement Restoration Spatial Domain Spectral Domain Point Processing >>imadjust >>histeq Spatial filtering >>filter2 Filtering >>fft2/ifft2 >>fftshift Inverse filtering Wiener filtering
13
S. Mandayam/ DIP/ECE Dept./Rowan University Lab 1: Pixel Operations http://engineering.rowan.edu/~shreek/fall07/dip/lab1.html
14
S. Mandayam/ DIP/ECE Dept./Rowan UniversitySummary
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.