Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Computer Science Filter Basics and Edge Detection in Python Paper

Computer Science Filter Basics and Edge Detection in Python Paper

Description

All Key Points and supplements would be attached FOR CONSIDERATION

Part I: Filter basics

Sharpen rain.jpeg and eliminate rain drops in it by median filter.

Task 1: Implement your sharpening filter and perform it on rain.jpeg. Save your results as sharpened.jpg. To get an obvious result, you may chose a relatively large ?. (2 points)

Task 2: Implement your own median filter and perform it on rain.jpeg to eliminate rain drops. Save results to derained.jpg. To get a good deraining result, the filter size should be as small as possible but large enough to eliminate rain drops. (2 points)

Part II: Canny edge detector

Implement Canny edge detector to detect edges in road.jpeg. Your program should contain following steps:

  1. Convert colour image into grayscale image, and save as gray.jpg. (1 point)
  2. Choose a proper sigma to perform Gaussian smoothing, save the result as gauss.jpg. Discuss how sigma affects final edge detection results. (2 points)
  3. Apply sobel operator, save the x-gradient Gx, y-gradient Gy and magnitude G as G_x.jpg, G_y.jpg and G.jpg. (3 points)
  4. Non-maximum value suppression. Save suppression result as supress.jpg. (3 points)
  5. Hysteresis thresholding. Choose two proper threshold – low and high, then binarize your suppression result via Hysteresis thresholding. Save binarization result by lower threshold as edgemap_low.jpg, result by high threshold as edgemap_high.jpg. Save the final result by Hysteresis thresholding as edgemap.jpg. Discuss how different thresholds affect final edgemap. (2 points, one point for edgemap_low.jpg and edgemap_high.jpg, one for edgemap.jpg)

Bonus: Hough transform

This part follows part II Canny edge detector to recognize straight lines in edgemap.jpg.

  1. Hough Transform. Save the “voting” result as hough.jpg. (2 points)
  2. Find out several most possible straight lines. Draw them on original image, then save as detection_result.jpg. To draw lines on image, see this example. (1 points)

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: School Class Pro only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by School Class Pro are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. School Class Pro is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At School Class Pro, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.