[Solved] Implementing correlation operation Full Project

$25

File Name: Implementing_correlation_operation_Full_Project.zip
File Size: 442.74 KB

SKU: [Solved] Implementing correlation operation Full Project Category: Tag:
5/5 - (1 vote)

Write your own m-functionmy imfilter that implements the discrete 2D correlation operator. You may assume that the kernel h is a square matrix with odd size (2a + 1) x (2a + 1). Since the kernel falls off the border of the image for the pixels close to the image border, you need to pad Os outsidethe image. For this purpose, you can use padarray function of MATLAB.function im out = my (im in, h)im out = my imfilter(im in, h)correlation Of the input image im in with the kernel him in and h are of double precisionTo be done: implementation of correlationendYou can check whether your solution is correct or not by comparing the result returned from your function my imfiiter (double (im_in) , double (h) ) With the result obtained by calling MATLAB function imfilter (double (im in) ,double (h) ) . Notice that you need to convert the argumentsto double precision during calling these functions.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Implementing correlation operation Full Project
$25