99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CSC420編程代寫、c/c++,Java程序代做

時間:2024-01-23  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Intro to Image Understanding (CSC420)
Assignment 1
Due Date: Jan 26th, 2024, 11:59:00 pm
Total: 120 marks
General Instructions:
• You are allowed to work directly with one other person to discuss the questions. However, you are still expected to write the solutions/code/report in your own words; i.e.
no copying. If you choose to work with someone else, you must indicate this in your
assignment submission. For example, on the first line of your report file (after your
own name and information, and before starting your answer to Q1), you should have
a sentence that says: “In solving the questions in this assignment, I worked together
with my classmate [name & student number]. I confirm that I have written the solutions/code/report in my own words”.
• Your submission should be in the form of an electronic report (PDF), with the answers
to the specific questions (each question separately), and a presentation and discussion
of your results. For this, please submit a file named report.pdf to MarkUs directly.
• Submit documented codes that you have written to generate your results separately.
Please store all of those files in a folder called assignment1, zip the folder and then
submit the file assignment1.zip to MarkUs. You should include a README.txt
file (inside the folder) which details how to run the submitted codes.
• Do not worry if you realize you made a mistake after submitting your zip file; you can
submit multiple times on MarkUs.
Part I: Theoretical Problems (60 marks)
[Question 1] Convolution (10 marks)
[1.a] (5 marks) Calculate and plot the convolution of x[n] and h[n] specified below:
x[n] = (
1 −3 ≤ n ≤ 3
0 otherwise
h[n] = (
1 −2 ≤ n ≤ 2
0 otherwise
(1)
[1.b] (5 marks) Calculate and plot the convolution of x[n] and h[n] specified below:
x[n] = (
1 −3 ≤ n ≤ 3
0 otherwise
h[n] = (
2 − |n| −2 ≤ n ≤ 2
0 otherwise
(2)
1
[Question 2] LTI Systems (15 marks)
We define a system as something that takes an input signal, e.g. x(n), and produces an
output signal, e.g. y(n). Linear Time-Invariant (LTI) systems are a class of systems that
are both linear and time-invariant. In linear systems, the output for a linear combination of
inputs is equal to the linear combination of individual responses to those inputs. In other
words, for a system T, signals x1(n) and x2(n), and scalars a1 and a2, system T is linear if
and only if:
T[a1x1(n) + a2x2(n)] = a1T[x1(n)] + a2T[x2(n)]
Also, a system is time-invariant if a shift in its input merely shifts the output; i.e. If T[x(n)] =
y(n), system T is time-invariant if and only if:
T[x(n − n0)] = y(n − n0)
[2.a] (5 marks) Consider a discrete linear time-invariant system T with discrete input signal
x(n) and impulse response h(n). Recall that the impulse response of a discrete system
is defined as the output of the system when the input is an impulse function δ(n), i.e.
T[δ(n)] = h(n), where:
δ(n) = (
1, if n = 0,
0, else.
Prove that T[x(n)] = h(n) ∗ x(n), where ∗ denotes convolution operation.
Hint: represent signal x(n) as a function of δ(n).
[2.b] (5 marks) Is Gaussian blurring linear? Is it time-invariant? Make sure to include your
justifications.
[2.c] (5 marks) Is time reversal, i.e. T[x(n)] = x(−n), linear? Is it time-invariant? Make
sure to include your justifications.
[Question 3] Polynomial Multiplication and Convolution (15 marks)
Vectors can be used to represent polynomials. For example, 3rd-degree polynomial (a3x
3 +
a2x
2 + a1x + a0) can by represented by vector [a3, a2, a1, a0].
If u and v are vectors of polynomial coefficients, prove that convolving them is equivalent to
multiplying the two polynomials they each represent.
Hint: You need to assume proper zero-padding to support the full-size convolution.
2
[Question 4] Laplacian Operator (20 marks)
The Laplace operator is a second-order differential operator in the “n”-dimensional Euclidean
space, defined as the divergence (∇) of the gradient (∇f). Thus if f is a twice-differentiable
real-valued function, then the Laplacian of f is defined by:
where the latter notations derive from formally writing:
Now, consider a 2D image I(x, y) and its Laplacian, given by ∆I = Ixx+Iyy. Here the second
partial derivatives are taken with respect to the directions of the variables x, y associated
with the image grid for convenience. Show that the Laplacian is in fact rotation invariant.
In other words, show that ∆I = Irr + Ir, where r and r
′ are any two orthogonal directions.
Hint: Start by using polar coordinates to describe a chosen location (x, y). Then use the
chain rule.
Part II: Implementation Tasks (60 marks)
[Question 5] Canny Edge Detector Robustness (10 marks)
Using the sample code provided in Tutorial 2, examine the sensitivity of the Canny edge
detector to Gaussian noise. To do so, take an image of your choice, and add i.i.d Gaussian
noise to each pixel. Analyze the performance of the edge detector as a function of noise variance. Include your observations and three sample outputs (corresponding to low, medium,
and high noise variances) in the report.
[Question 6] Edge Detection (50 marks)
In this question, the goal is to implement a rudimentary edge detection process that uses a
derivative of Gaussian, through a series of steps. For each step (excluding step 1) you are
supposed to test your implementation on the provided image, and also on one image of your
own choice. Include the results in your report.
Step I - Gaussian Blurring (10 marks): Implement a function that returns a 2D Gaussian matrix for input size and scale σ. Please note that you should not use any of the
existing libraries to create the filter, e.g. cv2.getGaussianKernel(). Moreover, visualize this
2D Gaussian matrix for two choices of σ with appropriate filter sizes. For the visualization,
3
you may consider a 2D image with a colormap, or a 3D graph. Make sure to include the
color bar or axis values.
Step II - Gradient Magnitude (10 marks): In the lectures, we discussed how partial
derivatives of an image are computed. We know that the edges in an image are from the
sudden changes of intensity and one way to capture that sudden change is to calculate the
gradient magnitude at each pixel. The edge strength or gradient magnitude is defined as:

where gx and gy are the gradients of image f(x, y) along x and y-axis direction respectively.
Using the Sobel operator, gx and gy can be computed as:
Implement a function that receives an image f(x, y) as input and returns its gradient g(x, y)
magnitude as output using the Sobel operator. You are supposed to implement the convolution required for this task from scratch, without using any existing libraries.
Step III - Threshold Algorithm (20 marks): After finding the image gradient, the
next step is to automatically find a threshold value so that edges can be determined. One
algorithm to automatically determine image-dependent threshold is as follows:
1. Let the initial threshold τ0 be equal to the average intensity of gradient image g(x, y),
as defined below:
where h and w are the height and width of the image under consideration.
2. Set iteration index i = 0, and categorize the pixels into two classes, where the lower
class consists of the pixels whose gradient magnitudes are less than τ0, and the upper
class contains the rest of the pixels.
3. Compute the average gradient magnitudes mL and mH of lower and upper classes,
respectively.
4. Set iteration i = i + 1 and update threshold value as:
τi =
mL + mH
2
5. Repeat steps 2 to 4 until |τi − τi−1| ≤ ϵ is satisfied, where ϵ → 0; take τi as final
threshold and denote it by τ .
4
Once the final threshold is obtained, each pixel of gradient image g(x, y) is compared
with τ . The pixels with a gradient higher than τ are considered as edge point and
is represented as white pixel; otherwise, it is designated as black. The edge-mapped
image E(x, y), thus obtained is:
E(x, y) = (
255, if g(x, y) ≥ τ
0, otherwise
Implement the aforementioned threshold algorithm. The input to this algorithm is the gradient image g(x, y) obtained from step II, and the output is a black and white edge-mapped
image E(x, y).
Step IV - Test (10 marks): Use the image provided along with this assignment, and also
one image of your choice to test all the previous steps (I to III) and to visualize your results
in the report. Convert the images to grayscale first. Please note that the input to each step
is the output of the previous step. In a brief paragraph, discuss how the algorithm works for
these two examples and highlight its strengths and/or its weaknesses.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:莆田純原鞋的3個常見進貨渠道-在哪買?多少錢STM潮鞋服終端供應鏈
  • 下一篇:代寫IRP 1 Coursework 01編程、代做Python程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          国产日韩一区二区| 老司机免费视频一区二区| 国产一区香蕉久久| 欧美人与性禽动交情品| 久久精品最新地址| 一区二区三区四区国产| 亚洲第一综合天堂另类专| 国产精品午夜在线观看| 欧美激情a∨在线视频播放| 欧美中文在线观看| 亚洲一卡久久| 这里是久久伊人| 亚洲国产一区二区视频 | 亚洲伊人观看| 日韩一区二区精品葵司在线| 一区在线播放| 极品少妇一区二区三区精品视频| 国产精品久久久久一区| 欧美天堂亚洲电影院在线观看| 麻豆国产精品777777在线| 香蕉av777xxx色综合一区| 亚洲一二三区在线观看| 99热这里只有精品8| 亚洲人体大胆视频| 亚洲人成在线影院| 亚洲精品国产系列| 亚洲国产精品va| 亚洲成人在线网| 一区二区亚洲精品| 亚洲电影免费在线 | 久久久久久久久久久久久久一区 | 亚洲欧美在线aaa| 亚洲女同性videos| 亚洲欧美文学| 欧美亚洲尤物久久| 欧美在线视频二区| 欧美一区二区在线看| 久久久久久久久久看片| 蜜桃久久av| 欧美成人一品| 欧美日韩一区二区在线视频| 欧美午夜电影一区| 国产精品一区亚洲| 精品av久久久久电影| 亚洲国产成人久久综合| 一区二区三区高清| 小处雏高清一区二区三区| 久久久999成人| 欧美**人妖| 欧美日韩亚洲另类| 国产区欧美区日韩区| 在线看成人片| 中文在线一区| 久久久久国产一区二区| 免费观看一级特黄欧美大片| 欧美日韩亚洲国产精品| 国产精品自在欧美一区| 在线欧美福利| 国产精品99久久久久久久vr| 久久不射网站| 欧美日韩在线另类| 国内精品亚洲| 亚洲综合色在线| 欧美大尺度在线| 国产精品久久久久久久一区探花| 极品尤物一区二区三区| 亚洲男人的天堂在线aⅴ视频| 欧美中文字幕不卡| 欧美视频不卡中文| 亚洲国产精选| 欧美在线一二三| 欧美日精品一区视频| 亚洲电影在线播放| 性欧美8khd高清极品| 欧美激情在线有限公司| 国产字幕视频一区二区| 亚洲免费中文| 欧美日韩在线播放| 亚洲精品免费在线| 欧美中文字幕不卡| 国产精品入口夜色视频大尺度| 亚洲国产精品久久人人爱蜜臀| 欧美一级淫片播放口| 欧美日韩性视频在线| 亚洲国产毛片完整版| 久久国产精品久久国产精品| 国产精品久久久久久福利一牛影视 | 久久综合伊人77777尤物| 欧美日韩福利在线观看| 亚洲欧洲精品一区二区三区波多野1战4 | 免费成人高清在线视频| 国产美女扒开尿口久久久| 亚洲视频视频在线| 国产精品国产三级国产专播精品人| 一色屋精品亚洲香蕉网站| 久久精品一二三区| 国产综合第一页| 久久精品欧洲| 激情久久一区| 久久久综合激的五月天| 黄色日韩精品| 老司机免费视频久久| 亚洲国产经典视频| 欧美精品久久天天躁| 亚洲国产精品热久久| 欧美粗暴jizz性欧美20| 亚洲免费电影在线观看| 欧美午夜免费影院| 欧美一区二区视频免费观看| 国产亚洲激情| 欧美a级片一区| 99精品国产在热久久下载| 欧美四级伦理在线| 欧美一级视频一区二区| 激情欧美亚洲| 欧美日韩精品一区二区三区| 亚洲视频二区| 国产精品日韩一区二区三区| 久久国产精品99国产精| 亚洲国内在线| 欧美三级电影一区| 欧美在线亚洲综合一区| 亚洲国产裸拍裸体视频在线观看乱了| 欧美大秀在线观看| 亚洲制服av| 樱桃视频在线观看一区| 欧美伦理a级免费电影| 午夜电影亚洲| 亚洲人成亚洲人成在线观看| 国产精品日日做人人爱| 美日韩精品视频| 亚洲欧美精品在线| 一区二区三区在线视频免费观看| 欧美日韩精品久久久| 久久国产直播| 亚洲天堂av在线免费观看| 激情欧美一区| 欧美视频中文在线看| 免费亚洲婷婷| 久久成人一区| 亚洲自拍偷拍麻豆| 亚洲精品综合精品自拍| 国语精品中文字幕| 国产精品久99| 欧美日韩国产综合久久| 免费国产一区二区| 久久九九99| 亚洲欧美伊人| 一本色道久久综合亚洲精品高清| 狠狠久久婷婷| 国产一区二区久久精品| 国产精品久久久久久久久久ktv| 欧美a级片一区| 久久福利视频导航| 欧美一区二区三区视频在线| 亚洲私人影院在线观看| 亚洲免费黄色| 亚洲片在线资源| 亚洲国产导航| 尤物网精品视频| 国产亚洲欧美一区二区三区| 国产精品美女久久久久久免费 | 欧美 日韩 国产 一区| 午夜视频一区在线观看| 亚洲欧美激情一区二区| 亚洲一区久久久| 国产精品99久久久久久有的能看| 亚洲毛片在线看| 亚洲精品一区二区三区婷婷月| 1769国产精品| 亚洲国产精品成人| 亚洲区免费影片| 91久久久精品| 亚洲激情中文1区| 亚洲免费激情| 亚洲欧美精品伊人久久| 亚洲欧美国产制服动漫| 先锋资源久久| 久久久亚洲精品一区二区三区| 久久久噜噜噜久噜久久 | 欧美大片一区二区三区| 欧美激情一区在线| 国产精品va在线| 国产亚洲美州欧州综合国| 精品不卡一区二区三区| 亚洲激情网址| 99这里有精品| 欧美一级日韩一级| 久久久亚洲欧洲日产国码αv | av成人免费在线观看| 亚洲欧美日韩国产精品| 久久久久久亚洲综合影院红桃| 久久久女女女女999久久| 欧美成人一二三| 国产精品白丝av嫩草影院| 国产一区二区三区丝袜| 亚洲日本免费| 欧美一区二区高清在线观看| 欧美成人精品在线播放| 国产伦精品一区二区三区高清|