Coder Social home page Coder Social logo

registration's Introduction

说明:
1. 由于本机的matlab不支持中文路径,故把附件子目录改为了相应的英文
2. 在photofunia.com下载的模板图像尽力选择了高分辨率图像,一般而言模板图像只有长边大于1千像素而短边只是接近1千像素
3. 由于本次作业脚本较多单独建立一个文件夹publish放置各个脚本发布文件
4  在任务二的脚本发布文件,为输出关键帧,略微修改了代码用于输出中间步骤,发布文件中的代码与上交代码有些许不同。
5. 任务二的关键帧为290,对其的处理包含了霍夫校正和去除遮挡封面的手两个步骤,即包含了视频中需要的所有额外处理,但可能有些许乱序
6. 各脚本运行时间预计
	生成视频的两个脚本 4-5分钟
	油画风格生成脚本 2分钟
	迁移到模板图像的脚本, 主要在SLIC后处理部分用时,约30秒左右
	其余脚本在秒量级下都能得到运行结果

文件结构
根目录下的脚本:

任务一相关:
mySLIC.m		-- 大作业三SLIC 算法的实现,用于去除遮挡物
oilPaint.m		-- 油画风格图片生成脚本
postProcess	-- 大作业三增强SLIC结果连通性的后处理算法,用于去除遮挡物
sketch.m		-- 素描风格图片生成脚本
templateXRegistration.m 迁移到模板X的脚本(X = 1,2,3,4,5,6,前三个为给定模板,后三个为自选模板)
wave.m		-- 水波纹风格图片生成脚本

任务二相关:
replace.m		-- 生成封面替换后视频的脚本
tracking.m	-- 生成封面追踪视频的脚本

pdf:
homework-2017010910-吴文绪 -- 作业报告

publish下:
各脚本发布pdf

data:
task1下:
根目录下
	x_y.jpg 		-- 使用模板x,迁移源图像y的结果 y = 1源图像为憨豆先生, y = 2 为自选图像狐狸
src下放置各类源图像:
	fox.jpg		-- 狐狸源图像
	foxOilpaint.jpg	-- 油画风格的狐狸图像
	foxSketch.jpg	-- 素描风格的狐狸图像
	foxWave.jpg	-- 水波纹风格的狐狸图像
	hisTtemplate.jfif	-- 一张素描图,作为生成素描风格图像时直方图匹配的目标素描图
	oilpaint.jpg	-- 油画风格的憨豆先生图像
	sketch.jpg		-- 素描风格的憨豆先生图像
	sourceImage.jpg	-- 憨豆先生源图像
	wave.jpg		-- 水波纹风格的憨豆先生图像
template下放置各目标图像
targetImageX.jpg		-- 模板图像X。其中X为1,2,3即为附件提供的模板,而4,5,6为自选模板,分别为小孩作画、扑克魔术和咖啡杯

task2下:
newCover.jpg		-- 用于替换的新封皮
repalce.avi		-- 用于替换封皮后的视频
targetVideo.MP4		-- 原视频
tracking.avi		-- 仅追踪了封面的视频

registration's People

Contributors

valmystletainn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.