COMP 0137作业代做、Python实验作业代写、代做Python语言程序作业、代写Machine Vision作业
COMP 0137 Machine Vision: Homework #1
Due 19th
November 2018 at 23:55pm
Worth 10% of your overall grade
Submit online, through Moodle
For this homework, we’ll revisit the practical from the 3rd
week: Mixtures of Gaussians.
There are two parts (plus optional extra credit), so please read the instructions carefully.
Everything you turn in must be YOUR OWN WORK, with one exception (in this case): the
new images and their ground truth mask images. See below for more details, but as always,
list names/references for anything you’re submitting that is not your own work.
Late Policy: We must follow the official UCL late-policy, and this gets applied *after* your
coursework is marked on Moodle, based on the Moodle timestamps. The instructor/TA’s
have no control over this – at all:
https://www.ucl.ac.uk/academic-manual/chapters/chapter-4-assessment-framework-taught-progra
mmes/section-3-module-assessment
What to turn in (all inside one folder, zip’ed inside a single .zip file):
- Three jupyter notebooks: for practicalMixGaussA.ipynb; also for B and C, but not D.
- Your jupyter notebook for practicalMixGauss_Apples.ipynb
- One folder containing your photos of apples
- One folder containing image masks for your apples
Code/Hints: All code must be python, submitted as jupyter python notebook files (.ipynb),
with your explanations interspersed within the notebooks. Do not use other libraries beyond:
os, time, sys, numpy, matplotlip, scipy.io, glob, and pillow and/or opencv if you need it.
Please use Python 3.6.
Part I: A), B), C)
Do all the TO DO’s in parts A, B, and C of the Mixtures of Gaussians practical. Some of the
TO DO’s are tagged a-j.
For every figure or plot that is generated in the code, write 1-3 sentences (maximum)
explaining what the figure shows or pros/cons of what is happening, good or bad.
It IS NOT SUFFICIENT to just say things like "update the variable." Ok, some things are
deterministic, but explain, to demonstrate you understand why those steps are happening.
Examples of things to talk about, in the 1-3 sentences:
- Give some analysis about code working/not working out, especially when stochastic.
- Discuss where/which results don’t match your expectations. Why? Be specific.
- Describe what EACH figure or plot is showing, what it would look like ideally.
- Discuss ways some step or experiment could be better / more robust. Validating your
process means being thorough, and what would you need to be more thorough?
You do NOT need to do the 4th
part, practicalMixGaussD.
Part II Make a new file, practicalMixGauss_Apples.ipynb.
A) Download and unzip the file apples.zip. Notice that for every color photo containing
apples, there is a corresponding binary image mask. In a mask image, white pixels indicate
(continued on next page…)
locations where the corresponding photo is an apple. In floating point, you may need to
threshold to get binary values. Note that these mask images are inexact! While a perfect
ground-truth mask image’s black pixels should correspond to non-apples, these masks were
painted in a hurry, so the white areas were painted conservatively.
# You may want to use this example code, for loading in your
jpg’s and png’s:
import glob
import numpy as np
import matplotlib.pyplot as plt
files = glob.glob("apples/*.jpg")
ColorImgs = []
for myFile in files:
im = plt.imread(myFile)
ColorImgs.append(im)
B) Train a mixture of Gaussians model for distinguishing apple vs. non-apple pixels. Use red,
green, and blue as your dimensions for now. Make any other decisions you need to, and
document them in your jupyter notebook.
C) Download the file testApples.zip. Generate figures for your notebook, showing each
pixel’s posterior probability of being “apple.” Comment on the outcomes.
D) For the test image with a ground-truth mask, quantify and report your result. Hint:
consider applying a range of thresholds to the posterior to produce sets of {True Positives
(TP), True Negatives (TN), False Positives (FP), and False Negatives (FN)} and using an
ROC curve. Learn about ROC on Wikipedia or see Peter Flach’s chapter on the subject.
E) Download two non-copyrighted photos with apples (maybe
http://search.creativecommons.org/ or some other source of images that are not copyrighted).
Make good ground-truth masks for them. You can use Windows Paint, or more sophisticated
programs like Gimp (free). Use these as extra test-images. Report your qualitative and
quantitative results.
F) We should really be using three separate sets of files: a training set, a validation set, and a
test set! Explain why.
Extra Credit: Put this section at the end of the practicalMixGauss_Apples.ipynb notebook
(extra points help you reach a perfect score for the two courseworks only, so a maximum of
20% of the overall grade).
- Consider manipulating the photographs’ colors to improve the classification
- Consider running 2D Gabor filters on the photos to get additional channels of data, in
place or in addition to red, green, and blue.
- Consider using an alternate model to mixture of Gaussians, and compare to MoG.

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

微信:codinghelp

转载于:https://www.cnblogs.com/hellorrrrr/p/9985132.html

COMP 0137 Machine Vision相关推荐

  1. Machine Vision 浅谈

    Machine Vision 浅谈 从刚毕业开始到现在,一直在学习视觉相关的知识,不知不觉,已经五个月过去了,以前总觉得娱乐.休息的时间过得很快,没想到工作的时候,时间好像也过得蛮快的!来回想一下,这 ...

  2. 一个不错的机器视觉库 SimpleCV: a kinder, gentler machine vision library

    Computer Vision platform using Python. WHAT IS IT? SimpleCV is an open source framework for building ...

  3. 【笔记】An explainable deep machine vision framework for plant stress phenotyping

    <An explainable deep machine vision framework for plant stress phenotyping> 背景 目前基于视觉症状的植物胁迫,由 ...

  4. 机器视觉照明技术Machine Vision Light Technique

    概述 机器视觉(machine vision)照明技术主要任务为提升被测物体特征与背景之间的对比度.对比度越大,感兴趣物体特征越明显,降低后期很多图像处理工作,提升整个机器视觉系统效率.观测相同的物体 ...

  5. 机器视觉(Machine Vision)

    有关机器视觉(Machine Vision)的部分介绍 文章目录 有关机器视觉(Machine Vision)的部分介绍 机器视觉的定义 机器视觉的特点 机器视觉系统的基本构造 机器视觉的应用 机器视 ...

  6. MVision Machine Vision 机器视觉

    转自https://github.com/Ewenwan/MVision MVision Machine Vision 机器视觉 澳大利亚机器人视觉研究中心 Computer Vision and P ...

  7. Multispectral imaging for medical and industrial machine vision systems(用于医疗和工业机器视觉系统的多光谱成像)

    Multispectral imaging for medical and industrial machine vision systems 用于医疗和工业机器视觉系统的多光谱成像 这是最近读的一篇 ...

  8. 【论文阅读】An Effective Method of Weld Defect Detectionand Classification Based on Machine Vision

    方法及概念: 混合高斯模型进行背景分割,提取缺陷区域 检测的缺陷类型:焊缝熔合.焊接穿孔.冷焊点.伪缺陷(灰尘.防锈胶等混合物) 焊缝缺陷分类算法区分焊缝缺陷,区分算法为灰度值曲线算法 焊缝特征:焊缝 ...

  9. Machine Vision and Computer Vision 2(笔记)

    工业机器视觉的流程 在工业上,照相机对拍摄图像的质量的要求往往十分苛刻.因为传统工业的视觉系统主要用于测量(Measurement)检测(Detection)定位(Location)识别(Identi ...

最新文章

  1. java.util.ServiceLoader源码分析
  2. ubuntu16.04 wget java_Ubuntu 16.04 安装 JDK
  3. 写程序过程中写程序的注意事项
  4. 常用网络命令使用技巧详解续编1
  5. stats | 线性回归(四)——显著性检验和模型评价
  6. 自学python顺序-python数据结构学习之实现线性表的顺序
  7. Lucene 索引维护 之 删除 与 更新 文档
  8. ctf赛题上传一个php木马,文件上传的ctf_web题目【伪协议】
  9. Linux中ping脚本
  10. 理解全概率公式与贝叶斯公式
  11. 操作系统实验一实验报告
  12. 用自己电脑做网站服务器
  13. python实现匿名发邮件_python 发送匿名邮件或无发件人
  14. xftp、xshell安装出现1603错误解决,亲测有用
  15. 扫描电镜图片的Matlab分析,基于Matlab的图像增强与复原技术在SEM图像中的应
  16. fatal error vips vips8 file not found 完美解决方法
  17. C++类与对象入门实践(日期类的实现)
  18. 重学前端第一阶段完 钢琴项目(document.querySelector js改变css样式的3种方式 思路 成品)
  19. WGS84经纬度坐标到北京54高斯投影坐标的转换
  20. 将VBA操作封装为DLL组件并在EXCEL中调用

热门文章

  1. 二进制,十进制,十六进制
  2. iPhone开发技巧之工具篇(4)--- 使用afconvert转换WAV文件
  3. C# 写Windows服务
  4. 我对她说,你能不能换件衣服?换种心情?换种脾气?她说,可以,换个人就行了···...
  5. HttpHand和HttpModule的详细解释,包括Asp.Net对Http请求的处理流程。
  6. Redis安装与源码调试
  7. C++11中std::future的使用
  8. 【linux】printf在终端打印彩色hello world
  9. mac上mysql关闭不了了_python操作mysql数据库
  10. python数据库安装教程_python MySQLdb Windows下安装教程及问题解决方法