Order For Similar Custom Papers & Assignment Help Services

Fill the order form details - writing instructions guides, and get your paper done.

Posted: September 9th, 2022

[1] Compute Histogram for image recognition (50pts)
Data set: the NWPU aerial data set contains approximately 45 categories of 700 images for each category in 256×256 RGB format. The data set can be downloaded from:
https://umkc.box.com/s/fxvzh5qq2tiob6eklfxfwn89kg3e1io1

For HW-1, let us just take the first 15 classes (shown above) {airplane, airport, bridge, …, freeway} from the full data set, and 40 images per class and form a data set of N=600 images with 15 labels. Objectives are,
a) compute a HSV Kmeans model with total number of entry K=[64, 128] implementing in matlab (or python) and show your code and results [15pts]
function [color_table]=getHSVColorTable(im_path, K)

….
return;

b) for each image compute a color histogram, implement the following function in matlab or python with both an Euclidean distance and KL distance (also known as cross entropy) metrics (optional for 10pts extra credits) [15pts]
function [h]=getHSVHist(im, color_table, opt)
im = rgb2hsv(im); [ht,wid,~]=size(im);
If opt == ‘euc’ % euclidean distance
dist = pdist2(color_table, reshape(im, [ht*wid, 3]));
elseif opt =’kld’ % KL distance

end
….
return;

c) Image Recognition Experiment: Use this HSV histogram feature to represent images, you will have a NxK data matrix, for N=15*40, and K =[64, 128]. Split the data set into training and leave 1 out testing, and conduct classification using knnclassify(). [20pts]
% load hsv features N x K
load hsv_hist64.mat; % 400×64
size(hsv_hist)
test_set=[1:10]; train_set=[11:40];
n_class=15; n_img=40;
for k=1:n_class
offs=(k-1)*n_img;
% test: offs+ test_set, training: all samples minus test set
rec_label = knnclassify(hsv_hist(offs+test_set,:), hsv_hist(setdiff(offs+test_set, [1:n_class*n_img]),:), k*ones(1, length(train_set)));
% your code here to analyze accuracy
…….
end

[2] (50pts) Homograph estimation: use the SVD to solve the over-fitting Ah=0 as covered in class. Use the sample code as template: http://www.vlfeat.org/applications/sift-mosaic-code.html, compute homograph for the following two images:

First compute SIFT and SIFT matches, then select good matches to solve homography as an over-determined linear equation via SVD. Show your code and solution details, as well as the final homography matrix. Use matlab imtransform to wrap the image according to the homography and verify the accuracy.

A) How many SIFT points pairs you found ? Select the best M=8 matching pairs, and use that to compute your Matrix A, for Ah=0 homography solution: [15pts]

B) Show the SVD of A and what are the zero singular values ? [10 pts]

C) Show the null space solution to Ah=0, i.e,non-zero h that makes Ah=0 [10pts]

D) For all matched SIFT points, how many are in agreement with this homography ? [15pts]

Order | Check Discount

Assignment Help For You!

Special Offer! Get 20-25% Off On your Order!

Why choose us

You Want Quality and That’s What We Deliver

Top Skilled Writers

To ensure professionalism, we carefully curate our team by handpicking highly skilled writers and editors, each possessing specialized knowledge in distinct subject areas and a strong background in academic writing. This selection process guarantees that our writers are well-equipped to write on a variety of topics with expertise. Whether it's help writing an essay in nursing, medical, healthcare, management, psychology, and other related subjects, we have the right expert for you. Our diverse team 24/7 ensures that we can meet the specific needs of students across the various learning instututions.

Affordable Prices

The Essay Bishops 'write my paper' online service strives to provide the best writers at the most competitive rates—student-friendly cost, ensuring affordability without compromising on quality. We understand the financial constraints students face and aim to offer exceptional value. Our pricing is both fair and reasonable to college/university students in comparison to other paper writing services in the academic market. This commitment to affordability sets us apart and makes our services accessible to a wider range of students.

100% Plagiarism-Free

Minimal Similarity Index Score on our content. Rest assured, you'll never receive a product with any traces of plagiarism, AI, GenAI, or ChatGPT, as our team is dedicated to ensuring the highest standards of originality. We rigorously scan each final draft before it's sent to you, guaranteeing originality and maintaining our commitment to delivering plagiarism-free content. Your satisfaction and trust are our top priorities.

How it works

When you decide to place an order with Dissertation App, here is what happens:

Complete the Order Form

You will complete our order form, filling in all of the fields and giving us as much detail as possible.

Assignment of Writer

We analyze your order and match it with a writer who has the unique qualifications to complete it, and he begins from scratch.

Order in Production and Delivered

You and your writer communicate directly during the process, and, once you receive the final draft, you either approve it or ask for revisions.

Giving us Feedback (and other options)

We want to know how your experience went. You can read other clients’ testimonials too. And among many options, you can choose a favorite writer.