1 / 26

DREAM

DREAM. IDEA. PLAN. IMPLEMENTATION. Introduction to Image Processing. Present to: Amirkabir University of Technology (Tehran Polytechnic) & Semnan University. Dr. Kourosh Kiani Email: kkiani2004@yahoo.com Email: Kourosh.kiani@aut.ac.ir Email : Kourosh.kiani@semnan.ac.ir

nitesh
Download Presentation

DREAM

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DREAM IDEA PLAN IMPLEMENTATION

  2. Introduction to Image Processing Present to:Amirkabir University of Technology (Tehran Polytechnic) & Semnan University Dr. Kourosh Kiani Email: kkiani2004@yahoo.com Email: Kourosh.kiani@aut.ac.ir Email: Kourosh.kiani@semnan.ac.ir Web: www.kouroshkiani.com

  3. Lecture 04 Arithmetic Operations

  4. SIMPLE ALGEBRAIC OPERATIONS in IMAGES Algebraic operations used for images are commonly viewed in two groups; mathematical and logical operations. Image adding, subtracting, dividing and multiplying operations constitute mathematical processing and “AND, OR, NOT” etc. operations forms logical operations.

  5. Image Addition a1 +b1 a2 +b2 a1 a2 … b1 b2 … + a3 +b3 a4 +b4 = a3 a4 … b3 b4 … … … … … … … a1 +10 a2 +10 a1 a2 … 10 + a3 +10 a4 +10 = a3 a4 … … … …

  6. Image Addition

  7. Image Addition Reduce noise (increase SNR) averaging, smoothing ... + =

  8. I = imread(‘rice.tif’); J = imread(‘cameraman.tif’); K = imadd(I, J); imshow(K) Or i=imread('rice.png'); j=imread('cameraman.tif'); k=i+j; imshow(k);

  9. I = imread('kourosh.jpg'); figure(1); imshow(I); I2 = imadd(I, 70); figure(2); imshow(I2); + 70 =

  10. Image Averaging • Consider a noisy image g(x,y) formed by the addition of noise (x,y) to an original image f(x,y) g(x,y) = f(x,y) + (x,y)

  11. = image formed by averaging K different noisy images Image Averaging • If noise has zero mean and is uncorrelated then it can be shown that

  12. = variances of g and  Image Averaging • Then • Then if K increase, it indicates that the variability (noise) of the pixel at each location (x,y) decreases.

  13. Image Averaging • Average multiple images (frames) of the same scene together • Useful for removing noise . . . + + =

  14. Image Subtracting X = uint8([ 255 10 75; 44 225 100]); Y = uint8([ 50 50 50; 50 50 50 ]); Z = imsubtract(X,Y) X = 255 10 75 44 225 100 Y = 50 50 50 50 50 50 Z = 205 0 25 0 175 50

  15. Image Subtracting rice = imread('rice.png'); figure (1) imshow(rice); background = imopen(rice, strel('disk', 15)); figure (2) imshow(background); rice2 = imsubtract(rice, background); figure (3) imshow(rice2); - =

  16. Image Subtracting I = imread('kourosh.jpg'); J = imsubtract(I,70); Figure(1), imshow(I), Figure(2), imshow(J) - 70 =

  17. Image Subtracting Digital subtraction angiography (DSA) _ =

  18. Image Subtracting Digital subtraction angiography (DSA)

  19. Image Multiplying X = uint8([ 2 10 7; 4 25 10]); Y = uint8([ 5 5 5; 3 5 6 ]); Z = immultiply(X,Y) X = 2 10 7 4 25 10 Y = 5 5 5 3 5 6 Z = 10 50 35 12 125 60

  20. Image Multiplying I = imread('moon.tif'); figure(1) imshow(I) J = immultiply(I,0.5); figure(2) imshow(J) * 0.5 =

  21. Image Dividing X = uint8([ 100 20 75; 30 25 36]) Y = uint8([ 5 5 5; 3 5 6 ]) Z = imdivide(X,Y) X = 100 20 75 30 25 36 Y = 5 5 5 3 5 6 Z = 20 4 15 10 5 6

  22. Image Dividing I = imread('rice.png'); figure(1), imshow(I); background = imopen(I,strel('disk',15)); figure(2), imshow(background); Ip = imdivide(I,background); figure(3), imshow(Ip, []); = ÷

  23. Image Dividing I = imread('rice.png'); J = imdivide(I,2); figure(1), imshow(I) figure(2), imshow(J) ÷ 2 =

  24. Questions? Discussion? Suggestions ?

  25. Thank you

More Related