首页 > > 详细

讲解 Assignment 1讲解 R语言

Assignment 1

Q1. Write a MATLAB function called   match that implements the histogram matching algorithm for 8-bit images that was described in class. The function header should have the form.

function im2 = match(im,h)  where im is a uint8 intensity image, h is the 256-bin histogram to be matched and im2 is the output image. You can use any built-in MATLAB functions in your code except for histeq.

Histogram matching can be used to perform. histogram equalization by appropriate specification of the desired histogram. Equalize the uint8 intensity image pout.tif using the function match and include a printout of the output in your report. Also include a plot of the vector h that you used as input.

 


联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!