Part One :图像加噪原理
1. 对于椒盐噪声(Salt And Pepper Noise)
椒盐噪声是一种因为信号脉冲强度引起的噪声,信噪比(Signal Noise Rate)是衡量图像噪声的一个数字指标。
给一副数字图像加上椒盐噪声的处理顺序应该如下:
指定信噪比 SNR 其取值范围在[0, 1]之间
计算总像素数目 SP, 得到要加噪的像素数目 NP = SP * (1-SNR)
随机获取要加噪的每个像素位置P(i, j)
指定像素值为255或者0。
重复c, d两个步骤完成所有像素的...
分类:
其他好文 时间:
2015-06-02 22:09:58
阅读次数:
145
写出前几项,之后f[i] = f[i - 1] + f[i - 2];
#include
#include
using namespace std;
#define maxn 45
int f[maxn];
int main()
{
f[1] = 2;
f[2] = 3;
for (int i = 3; i < maxn; i++)
f[i] ...
分类:
其他好文 时间:
2015-05-27 21:12:27
阅读次数:
124
Although the techniques described above reveal the identity of the vertics in the social graph but add noise to the relationships between them,th...
分类:
其他好文 时间:
2015-05-21 22:18:02
阅读次数:
141
这一题其实就是斐波那契数列,但是我一开始用的是DP,不过应该思想差不多。
一数组dp[i][2],dp[i][0]代表前i个数里面最后一个数字为0的数量,dp[i][1]代表前i个数里面最后一个数字为1的数量,可知dp[i][1]+dp[i][0]就是前i个数能组成序列的数量。
这里因为不能2个1在一起,所以:
dp[i][0] = dp[i-1][0]+dp[i-1][1]
dp[i][...
分类:
其他好文 时间:
2015-05-04 18:19:23
阅读次数:
128
官方网站:https://ece.uwaterloo.ca/~z70wang/research/ssim/
1、SSIM
structural similarity index
一种衡量两幅图像相似度的新指标,其值越大越好,最大为1,
经常用到图像处理中,特别在图像去噪处理中在图像相似度评价上全面超越SNR(signal to noise ratio)和PSNR(...
分类:
其他好文 时间:
2015-04-03 19:29:28
阅读次数:
266
1、Noise Margin不管是TTL还是CMOS Logic Level,都会有门限。如,5V CMOS的VoutH > 4.4V, VoutL 3.5 , VinL <1.5V。所以,这里5V COMS的noise margin为VnH=4.4-3.5=0.9V。为什么要有Noise Marg...
分类:
其他好文 时间:
2015-04-03 17:16:36
阅读次数:
132
%%% 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
%%%% 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
A close look at ALSAhttp://www.volkerschatz.com/noise/alsa.htmlLinux ALSA sound noteshttp://www.sabi.co.uk/Notes/linuxSoundALSA.html[alsa-devel] [PATC...
分类:
其他好文 时间:
2015-03-16 16:09:04
阅读次数:
150
Image Enhancement1.Reasons for doing this:Highlighting interesting detail in imagesRemoving noise from imagesMaking images more visually appealing22. ...
分类:
其他好文 时间:
2015-03-16 12:50:15
阅读次数:
153