- 博客(15)
- 资源 (11)
- 问答 (2)
- 收藏
- 关注
原创 C++ 5
// C++_test1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include#include#include#include#include#include#include// using namespace std;using std::cin;using std::cout;using std::endl;usi
2017-03-31 23:28:02 407
原创 C++ 4
// C++_test1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include#include#include#include#include#include#include// using namespace std;using std::cin;using std::cout;using std::endl;usi
2017-03-29 19:26:41 417
原创 C++2
// C++_test1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include #include // using namespace std;using std::cin;using std::cout;using std::endl;using std::string;i
2017-03-29 11:02:28 599
原创 C++
// C++_test1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include #include // using namespace std;using std::cin;using std::cout;using std::endl;namespace li { doubl
2017-03-29 00:33:21 482
原创 matlab实现PS算法之颜色变换、高反差保留、染色玻璃、碎片
%{设置好条纹的宽度和条纹的间隔,建立一个遮罩层,等间隔的对原图进行等间距的遮罩。%}clear,clc;[filename,pathname] = uigetfile('*.jpg;*.bmp','选择图片','E:\pictures\For_Project\Matlab');imgaepath = strcat(pathname,filename);image = imread(
2017-03-23 11:58:56 3185 2
原创 matlab实现PS算法之百叶窗、老照片
%{设置好条纹的宽度和条纹的间隔,建立一个遮罩层,等间隔的对原图进行等间距的遮罩。%}clear,clc;[filename,pathname] = uigetfile('*.jpg;*.bmp','选择图片','E:\pictures\For_Project\Matlab');imgaepath = strcat(pathname,filename);image = imread(
2017-03-23 11:46:10 3925 2
原创 matlab实现PS算法之渐变
%{色调分离的原理就是将R, G, B每个通道 0-255 的色调区间进行强制划分到给定的区间里去,所以色调会合并,最终的图像看起来颜色就是一块一块的。%}clear,clc;[filename,pathname] = uigetfile('*.jpg;*.bmp','选择图片','E:\pictures\For_Project\Matlab');imgaepath = strcat
2017-03-23 11:23:14 3177
原创 matlab实现PS算法之色调分离
%{色调分离的原理就是将R, G, B每个通道 0-255 的色调区间进行强制划分到给定的区间里去,所以色调会合并,最终的图像看起来颜色就是一块一块的。%}clear,clc;[filename,pathname] = uigetfile('*.jpg;*.bmp','选择图片','E:\pictures\For_Project\Matlab');imgaepath = strcat
2017-03-23 11:02:55 2366 1
原创 matlab实现PS算法之亮度调整
%{ 亮度调整 非线性亮度调整: 对于R,G,B三个通道,每个通道增加相同的增量。 线性亮度调整: 利用HSL颜色空间,通过只对其L(亮度)部分调整, 可达到图像亮度的线性调整。但是,RGB和HSL颜色 空间的转换很繁琐,一般还需要浮点数的运算,不仅增 加了代码的复杂度,更重要的是要逐点将RGB转换为HSL,
2017-03-21 15:31:27 2797
原创 matlab实现PS算法之自动色阶
function I_out=F_color(I, percent)%%% the tonal range of the input image is 0-1.[row, col]=size(I);I_sort=sort(I(:));I_out=I;%%% based on the clipping percentage, %%% compute the upper and lowe
2017-03-21 15:20:49 3499
原创 matlab实现PS算法之黑白照
%{ Photoshop CS图像黑白调整功能的计算公式为: gray= (max - mid) * ratio_max + (mid - min) * ratio_max_mid + min 公式中:gray为像素灰度值,max、mid和min分别为图像像素R、G、B分量颜色的最大值、中间值和最小值,ratio_max为max所代表的分量颜色(单色)比率,ratio
2017-03-21 15:08:42 1642
原创 matlab之PS算法小程序(差值,溶解, 排除)
原理见http://blog.csdn.net/matrix_space/article/details/22488467[filename,pathname] = uigetfile('*.jpg;*.bmp','选择图片','E:\pictures\For_Project\Matlab');imgaepath = strcat(pathname,filename);I1 = imrea
2017-03-21 15:01:43 1543
原创 matlab之PS算法小程序(线性加深,线性减淡,变亮,变暗)
原理见http://blog.csdn.net/matrix_space/article/details/22425209[filename,pathname] = uigetfile('*.jpg;*.bmp','选择图片','E:\pictures\For_Project\Matlab');imgaepath = strcat(pathname,filename);I1 = imrea
2017-03-21 12:16:42 2220
原创 matlab之PS算法小程序
原理转自:http://blog.csdn.net/matrix_space/article/details/22416241[filename,pathname] = uigetfile('*.jpg;*.bmp','选择图片','E:\pictures\For_Project\Matlab');imgaepath = strcat(pathname,filename);I1 = imr
2017-03-21 11:49:58 1881 1
原创 C++学习之引用
// C++_test1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#includeusing namespace std;int main(){ //引用实际是为已经存在的对象起了另外一个名字 //引用必须初始化 int ival = 1024; int &refval = ival; refval = 5; //正确,re
2017-03-20 21:00:09 372
Win10+VS2015+opencv3.0完美配置,亲测没问腿
2016-01-28
tensorflow怎么获取最后一个维度特定索引的张量?
2019-01-10
TA创建的收藏夹 TA关注的收藏夹
TA关注的人