matlab NO123
最编程
2024-05-08 17:27:06
...
Figure 2:
The Project colour matrix example
•
images1
.
zip
and
•
Photos
.
zip
are a set of real photographs. Do not attempt to solve these, but comment on each one in your report.
1.3 What to do
•
Write a function called
findColours
(
filename
)
that given the string
filename
,
loads an image and returns an array representing the colours found in the matrix. Please break this down in to the following steps:
–
findColours
will call the following functions:
–
A function
image
=
loadImage
(
filename
)
that given the string
filename
,
loads an image and returns the image as type double.
–
A function,
circleCoordinates
=
findCircles
(
image
)
the locates
and returns the coordinates of the four black circles.
1
–
A function the correctly un-distorts the images:
correctImage
(
circleCoordinates
,
image
)
. Note, images maybe flipped since there is no correct orientation.
–
A function
colours
=
getColours
(
image
)
the takes the double image array,
image
, and returns an array with the result of the colours. For now this will only use the undistorted images (
org_X
.
png
and
noise_X
.
png
) The colours used are red, green, yellow, blue and white.
推荐阅读
-
用 Matlab 进行数理统计:第 5 章 方差分析 - 5.1 单因素方差分析
-
matlab NO123
-
[信号处理] 雷达信号处理的代码和报告(Matlab 实现)
-
[图像融合] 基于 Matlab 拉普拉斯金字塔图像融合[含 Matlab 746 问题]。
-
风力发电的 Weibull 分布和光伏发电的 Beta 分布的综合研究(Matlab 代码实现)
-
身份证识别】基于 Matlab GUI 形态学的第二代身份证号码识别系统【含 Matlab 源代码 第 948 期】。
-
Matlab 绘制默认常用颜色 RGB 和十六进制颜色代码
-
基于 Matlab 卷积神经网络的深度学习验证码识别系统 - IV.总结
-
将 matlab RGB 颜色转换为十六进制颜色
-
Matlab:使用 xlsread 出错:意外服务器条件解决方案