Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need MATLAB code for basically bilinear interpolation without using built in functions as described in the question below. You can explain your work on

I need MATLAB code for basically bilinear interpolation without using built in functions as described in the question below. You can explain your work on any image.But if you dont know the solution pleaseeee dont post weird things.I am paying for this pleasee!! Thankyou in advance for help and time.

Take selfie image, convert to grayscale, and cut out a rectangle around the eye so that the image size you are working with is not too large (comfortably less than 300 samples in each dimension). Use this image for the following experiments and tasks.

1) Resizing images: Write a function that given this image, and any location in the image (on the discrete grid or in between the available samples), returns the interpolated value of the image intensity at that location using the bilinear interpolation method. Please do not use any MATLAB inbuilt function for interpolation.Test this function to resample the image for a different number of samples (MxN), so (2M, 2N), or (M/3, N/5). Note that the field of view is preserved, you will only be placing a different number of samples on the same absolute field of view.

Help notes for above task:

  1. Q1 Part 1: Prove interpolation works for all test cases (i.e. middle, edge, and corner cases)
    • Assume something for special edge cases and explain in report
    • Show the values from interpolation are as expected
  2. Q1 Part 2: Dimensions for an image can be increased/decreased while maintaining a FOV (field of view)
    • Show FOV is maintained. Show input image size, resize factor, and output image size with included images.
    • Do this for reasonable image test cases, using rational numbers, and explain why these values make sense.
    • In main.m, put scaling factors in this file so the Prof can change them if they are not convinced from above.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

=+c) Whats the probability that there are no more than 10 righties?

Answered: 1 week ago