IP LAB.docx - Title Gradient Image with Laplacian filtering Definition An image gradient is a directional change in the intensity or color in an image

IP LAB.docx - Title Gradient Image with Laplacian filtering...

This preview shows page 1 - 3 out of 4 pages.

Title: Gradient Image with Laplacian filtering. Definition: An image gradient is a directional change in the intensity or color in an image. The gradient of the image is one of the fundamental building blocks in image processing. Equation: The gradient is the 2D equivalent of the derivative. Algorithm: 1. Input Image 2. Image change to Gray image. 3. Apply Gradient formula Source Code: originalImage = imread( 'babu.jpg' ); originalImage = rgb2gray(originalImage); warning off images:initSize:adjustingMag figure imshow(originalImage) title( 'Original Image' ) noisyImage = imnoise(originalImage, 'gaussian' ); figure imshow(noisyImage) title( 'Noisy Image' ) sobelGradient = imgradient(noisyImage); figure imshow(sobelGradient,[]) title( 'Sobel Gradient Magnitude' ) Input & output:
Image of page 1

Subscribe to view the full document.

Fig: Gradient Image with Laplacian filtering Explanation: The gradient of a function of two variables x, y is a vector of the partial derivatives in the x and y direction. So if your function is f(x,y), the gradient is the vector (f_x, f_y). An image is a discrete function of (x,y).
Image of page 2
Image of page 3
  • Fall '15

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes