%%% Perlin Noise
%%% Wood_texture
clc;
clear all;
close all;
addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm');
Image=imread('9.jpg');
Image=double(Image);
[row,col,layer]=size(Image...
分类:
其他好文 时间:
2015-03-28 18:46:40
阅读次数:
226
static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Green; Console.Clear(); while (true) { Console.WriteLine("求方程式ax²+bx=c=0的根的情况...
分类:
其他好文 时间:
2015-03-28 15:40:03
阅读次数:
118
I am lazy so I did not clear the two dynamic allowcated . 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ...
分类:
其他好文 时间:
2015-03-21 18:33:56
阅读次数:
163
1617. Flat Spots
Time limit: 0.5 second
Memory limit: 64 MB
Yekaterinburg has an extensive network of tram routes. Trams of more than ten routes go along some streets. It is clear that ra...
分类:
其他好文 时间:
2015-03-21 17:07:45
阅读次数:
134
Simple DP, but notes:1. initialize the array not only for dp[i] += dp[i-1], but also dp[i] += dp[i-1] + grid[i][0];2. Clear that we are using one dime...
分类:
其他好文 时间:
2015-03-21 08:35:36
阅读次数:
115
%%%% Cloud
%%%% 利用perlin noise生成云彩
clc;
clear all;
close all;
addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm');
Image=imread('4.jpg');
Image=double(Image);
[row,col,layer]=size(Ima...
分类:
其他好文 时间:
2015-03-20 20:34:56
阅读次数:
187
Graphics graphics(dc.GetSafeHdc());
graphics.Clear(Color::White);
//定义三种参与渐变的色彩
Color colors[] =
{
Color::Red, //红色
Color::Green , //过渡色为绿色
Color::Blue //蓝色
};
//定义三种颜色的位置
float p...
分类:
其他好文 时间:
2015-03-19 22:17:07
阅读次数:
171
/* new clearfix */.clearfix:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}* html .clearfix { zoom: 1; } /*...
分类:
其他好文 时间:
2015-03-19 20:13:50
阅读次数:
300
来源:http://www.cnblogs.com/tengs2000/archive/2009/02/23/1396646.html一、直接显示,使用的还是原页面的URL1 Response.ContentType = "application/pdf";2 Response.Clear();3 ...
分类:
Web程序 时间:
2015-03-19 19:54:35
阅读次数:
168
javascript中是没有map和list 结构的。本篇文章是对在JS中Map和List的简单实现代码进行了详细的分析介绍,需要的朋友参考下代码如下:/** MAP对象,实现MAP功能** 接口:* size() 获取MAP元素个数* isEmpty() 判断MAP是否为空* clear() 删除...
分类:
Web程序 时间:
2015-03-19 16:04:53
阅读次数:
123