- 博客(35)
- 收藏
- 关注
原创 Opencv学习:非线性滤波:中值滤波、双边滤波
本系列文章由@浅墨_毛星云 出品,转载请注明出处。 文章链接: http://blog.youkuaiyun.com/poem_qianmo/article/details/23184547作者:毛星云(浅墨) 邮箱: happylifemxy@163.com 写作当前博文时配套使用的OpenCV版本: 2.4.8浅墨历时
2014-11-11 19:42:45
2769
转载 opencv学习 - 7
PS:关于系统用户名为中文,这是血的教训。之前在玩Unity3D游戏引擎的时候,被系统路径为中文虐了好一阵子,在unity官方商店下个插件就报错。在控制面板中更改用户名是治标不治本的办法,最后把系统user的Documents目录定位到别的地方才解决。不过这会造成一些在Documents路径下存了数据的软件数据丢失,甚至打不开。。。。。所以,血的教训。。。。浅墨在以后重装系统的时候,绝对不会以中文
2014-11-09 19:01:12
556
原创 opencv
Mat::zeros返回指定的大小和类型的零数组。C++: static MatExpr Mat::zeros(int rows, int cols, int type)C++: static MatExpr Mat::zeros(Size size, int type)C++: static MatExpr Mat::zeros(int ndims, const
2014-11-09 18:48:22
1016
转载 OpenCV学习:创建Trackbar & 图像对比度、亮度值调整
如何在OpenCV中用createTrackbar函数创建和使用轨迹条,以及图像对比度、亮度值的动态调整。
2014-11-09 17:52:26
923
转载 學習UI/UX的四大重點
學習UI/UX的四大重點FEBRUARY 18, 2014 | 4 COMMENTS關於剛踏入業界需要準備什麼、或是想轉換跑道需要具備哪些技能,選擇 UI/UX 這條路就是要有包山包海的心理準備。大致上我會把它劃分成四大類,理論、實踐、技術、品味。這四類缺一不可。理論從專有名詞釋義、XX 定律、OO 概論等等都算在這個範圍。站在巨人肩上才看得遠,大量的理論是踏入
2014-10-15 19:11:59
591
转载 怎样安装Photoshop画笔,形状,动作,滤镜等插件
怎样安装Photoshop画笔,形状,动作,滤镜等插件 Photoshop 学UI网萌小秘 2014-03-04 7582浏览 4评论1.Photoshop画笔的安装Photoshop画笔的默认格式为.abr,如果你下载的是压缩包,请解压之后再安装。方法一:最简单的方法——双击abr画笔文件,或将abr文件拖动到Photoshop中,画笔将会自动安装到Phot
2014-10-15 15:43:06
1326
1
原创 笔记:OpenGL SuperBible - Tessellation
Tessellation: a process of breaking a high-order primitive into many smaller, simpler
2014-10-12 07:54:04
925
原创 OpenGL4.x 学习笔记:安装&配置 - preparation
Mac下命令行的使用学习笔记:在使用Cmake GUI工具对蓝宝书配套源代码进行配置以后,打开工程,点击运行,报错。。提示:找不到/usr/local/lib/libglfw.a就搜了一下libglfw.a,发现是因为没有安装配置GLFW。所以去下载了GLFW。并查到了这篇文章:Mac平台学习OpenGL就准备跟着上面的步骤来配置。结果,还是逃不掉那个cmake的问
2014-10-05 17:19:12
1589
原创 笔记:OpenGL SuperBible - First Triangle
GLSL includes a special input to the vertex shader calledgl_VertexID,
2014-10-05 15:31:56
857
原创 笔记:OpenGL SuperBible - Shaders
OpenGL shaders are written in a language called the OpenGL ShadingLanguage, or GLSL. The compiler for this language is built into OpenGL. The sourcecode for your shader is placed into a
2014-10-05 11:04:33
816
原创 笔记:OpenGL SuperBible - First Program
// Include the "sb6.h" header file#include "sb6.h"// Derive my_application from sb6::applicationclass my_application : public sb6::application {public: // Our rendering function void rende
2014-10-05 10:38:26
911
原创 笔记:OpenGL SuperBible - Intro
Intro:graphic pipeline and OpenGLOpenGL historyfundamental concepts
2014-09-26 10:12:39
566
原创 笔记:OpenGL SuperBible - overview
Overview:The goal of this book is Reference pages: http://www.opengl.org/sdk/docs/man4/
2014-09-26 09:59:12
721
原创 笔记:OpenGL Tutorial 02
OpenGL Tutorial 2VAO: OpenGL抛弃glEnable(),glColor(),glVertex(),glEnable()这一套流程的函数和管线以后,就需要一种新的方法来传递数据到Graphics Card来渲染几何体,我们可以用VBO, 在3+版本我们可以使用Vertex Array Object-VAO,VAO是一个对象,其中包含一个或者更多的Vertex B
2014-09-21 09:16:45
542
原创 Notes: OpenGL Tutorial01
How to learn:The given projects are only for reference, never
2014-09-19 10:28:22
567
翻译 真正的软件工程工作到底是什么样的?
This summer I started my first ever internship. It's certainly a culture-shock to transition from school to the workplace, but I generally like to pride myself on being a quick learner. At Red Hat, as
2014-08-10 09:16:09
1488
原创 OpenGL 练习11.1 Lighting
#include#include#include/* -------------------------------* v1[],v2[],v3[] {x,y,z}* -------------------------------*/void norm(GLfloat v1[3], GLfloat v2[3], GLfloat v3[3], GLfloat *nor ){ G
2014-05-13 16:24:29
764
原创 OpenGL 练习11 Lighting
#include#include#includevoid display(void){ glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glutSolidSphere (1.0, 50, 50); glFlush ();}void init(){ GLfloat light_ambient[] = { 1.0, 0
2014-05-13 15:21:43
492
原创 OpenGL 练习10 Approximation of Sphere
Nice!#include#include#include //a point data typetypedef GLfloat point3[3]; point3 v[] = {{0.0, 0.0, 1.0}, {0.0, 0.942809, -0.333333}, {-0.816497, -0.471405, -0.333333}, {0.816497, -0.471405,
2014-05-11 10:17:45
623
原创 OpenGL 练习09 Walking through a scene
#include#include#include //窗口大小int width = 600;int height = 600; //a point data typetypedef GLfloat point4[4];typedef GLfloat color4[4]; //平移向量float trans[3] = {0.01, 0.01, 0.01}; //平移系
2014-05-11 10:16:38
731
原创 OpenGL 练习08 Spinning Cube
#include#include#include //窗口大小int width = 600;int height = 600; //a point data typetypedef GLfloat point4[4];typedef GLfloat color4[4]; //平移向量float trans[3] = {0.01, 0.01, 0.01}; //平移系
2014-05-11 10:15:41
756
原创 OpenGL 练习07 变换矩阵
修改了ColorCube的代码://glPushMatrix(); //glLoadIdentity(); //glLoadMatrixf(m); glMultMatrixf(m);// glMultiMatrix(const TYPE *m); 将m乘于当前矩阵。 /* glTranslatef(0.5, 0, 0);
2014-05-11 10:14:38
632
原创 OpenGL 练习05 3D Recursive Triangles
#include#include#include //a point data typetypedef GLfloat point3[3]; //initial trianglepoint3 v[] = {{-1.0, -1.0, -1.0}, {1.0, -1.0, -1.0}, {0.0, 1.0, -1.0}, {0.0, 0.0, 1.0}};int n = 10000;
2014-05-11 10:12:10
718
原创 OpenGL 练习04 Recursive Triangles
对照课本上的方法,但做了一点点改动:是不停地画里面那个挖空的三角形,用背景颜色填充,而不是重画。
2014-05-11 10:09:11
785
原创 OpenGL 练习03 3D Gasket
#include#include#include //a point data typetypedef GLfloat point3[3]; int n = 20000;//number of recursive steps // vertices of an arbitrary tetrahedronpoint3 v[] = {{-1.0, -1.0, -1.0}, {1.0
2014-05-11 10:05:30
953
原创 OpenGL 练习02 Sphere
哎呀,照着图形学课本上的部分代码画的一个球,用了一个晚上,一个下午的时间,中间还求助了他人,才把这个球画正确了。过程好艰辛,是用汗水与泪水画出来的球啊!为什么那么难画?1、我太粗心:抄式子的时候抄错了好几处地方2、课本太粗心:有几处地方原本就是错的不过还好,总算是画出来了,很开心!
2014-05-11 10:03:19
926
原创 OpenGL练习01 Sierpinski
终于~下定决心好好学学难得有点兴趣的计算机图形学,用blog记录一下学习进展吧!加油~!这是课本上第一个练习例子:(好像还不是最优方案,再接再厉吧!)
2014-05-11 10:01:53
936
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人