Location:
Search - SIZE sz
Search list
Description: // Canny算子
void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow,
double dRatHigh, LPBYTE pResult)
{
//经过高斯滤波后的图像
LPBYTE pGaussSmooth
pGaussSmooth = new unsigned char[sz.cx*sz.cy]
//x方向导数的指针
int *pGradX
pGradX = new int[sz.cx*sz.cy]
//y方向
int *pGradY
pGradY = new int[sz.cx*sz.cy]
//梯度的幅度
int *pGradMag
pGradMag = new int[sz.cx*sz.cy]
//对原图高斯滤波
GaussianSmooth(sz,pGray,pGaussSmooth,sigma)
//计算方向导数和梯度的幅度
Grad(sz,pGaussSmooth,pGradX,pGradY,pGradMag)
//应用非最大抑制
NonmaxSuppress(pGradMag,pGradX,pGradY,sz,pResult)
//应用Hysteresis,找到所有边界
Hysteresis(pGradMag,sz,dRatLow,dRatHigh,pResult)
delete[] pGradX
pGradX = NULL
delete[] pGradY
pGradY = NULL
-/ / Canny operator void Canny (LPBYTE pGray. SIZE sz, double sigma, double dRatLow. double dRatHigh. LPBYTE pResult) (/ / after Gaussian filtering of images LPBYTE pGaussS mooth unsigned pGaussSmooth = new char [sz.cx * sz.cy] / / x direction derivative indicators pGradX pGradX int * = new int [ sz.cx * sz.cy] / / int * y direction pGradY pGradY = new int [sz.cx * sz.cy] / / gradient magnitude int * pGradMag pGradMag = new int [sz.cx * sz.cy] / / maximum Gaussian filter to GaussianSmo oth (sz, pGray, pGaussSmooth. sigma) / / calculate derivative and the gradient range Grad (sz. pGaussSmooth, pGradX, pGradY. pGradMag) / / non-application of the biggest inhibition NonmaxSuppress (pGradMa g, pGradX, pGradY, sz, pResult) / / Application Hysteresis, find all border Hysteresis (pGradMag, sz, dRa
Platform: |
Size: 54607 |
Author: 王学金 |
Hits:
Description: canny 算法
void CreatGauss(double sigma, double **pdKernel, int *pnWidowSize)
void GaussianSmooth(SIZE sz, LPBYTE pGray, LPBYTE pResult, double sigma)
void Grad(SIZE sz, LPBYTE pGray, int *pGradX, int *pGradY, int *pMag)
void NonmaxSuppress(int *pMag, int *pGradX, int *pGradY, SIZE sz, LPBYTE pNSRst)
void EstimateThreshold(int *pMag, SIZE sz, int *pThrHigh, int *pThrLow, LPBYTE pGray,
double dRatHigh, double dRatLow)
void Hysteresis(int *pMag, SIZE sz, double dRatLow, double dRatHigh, LPBYTE pResult)
void TraceEdge(int y, int x, int nThrLow, LPBYTE pResult, int *pMag, SIZE sz)
void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow,
double dRatHigh, LPBYTE pResult)
Platform: |
Size: 9045 |
Author: 穆阿军 |
Hits:
Description: // Canny算子
void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow,
double dRatHigh, LPBYTE pResult)
{
//经过高斯滤波后的图像
LPBYTE pGaussSmooth
pGaussSmooth = new unsigned char[sz.cx*sz.cy]
//x方向导数的指针
int *pGradX
pGradX = new int[sz.cx*sz.cy]
//y方向
int *pGradY
pGradY = new int[sz.cx*sz.cy]
//梯度的幅度
int *pGradMag
pGradMag = new int[sz.cx*sz.cy]
//对原图高斯滤波
GaussianSmooth(sz,pGray,pGaussSmooth,sigma)
//计算方向导数和梯度的幅度
Grad(sz,pGaussSmooth,pGradX,pGradY,pGradMag)
//应用非最大抑制
NonmaxSuppress(pGradMag,pGradX,pGradY,sz,pResult)
//应用Hysteresis,找到所有边界
Hysteresis(pGradMag,sz,dRatLow,dRatHigh,pResult)
delete[] pGradX
pGradX = NULL
delete[] pGradY
pGradY = NULL
-//Canny operator void Canny (LPBYTE pGray. SIZE sz, double sigma, double dRatLow. double dRatHigh. LPBYTE pResult) (//after Gaussian filtering of images LPBYTE pGaussS mooth unsigned pGaussSmooth = new char [sz.cx* sz.cy]// x direction derivative indicators pGradX pGradX int* = new int [ sz.cx* sz.cy]// int* y direction pGradY pGradY = new int [sz.cx* sz.cy]// gradient magnitude int* pGradMag pGradMag = new int [sz.cx* sz.cy]// maximum Gaussian filter to GaussianSmo oth (sz, pGray, pGaussSmooth. sigma)// calculate derivative and the gradient range Grad (sz. pGaussSmooth, pGradX, pGradY. pGradMag)// non-application of the biggest inhibition NonmaxSuppress (pGradMa g, pGradX, pGradY, sz, pResult)// Application Hysteresis, find all border Hysteresis (pGradMag, sz, dRa
Platform: |
Size: 54272 |
Author: 王学金 |
Hits:
Description: canny 算法
void CreatGauss(double sigma, double **pdKernel, int *pnWidowSize)
void GaussianSmooth(SIZE sz, LPBYTE pGray, LPBYTE pResult, double sigma)
void Grad(SIZE sz, LPBYTE pGray, int *pGradX, int *pGradY, int *pMag)
void NonmaxSuppress(int *pMag, int *pGradX, int *pGradY, SIZE sz, LPBYTE pNSRst)
void EstimateThreshold(int *pMag, SIZE sz, int *pThrHigh, int *pThrLow, LPBYTE pGray,
double dRatHigh, double dRatLow)
void Hysteresis(int *pMag, SIZE sz, double dRatLow, double dRatHigh, LPBYTE pResult)
void TraceEdge(int y, int x, int nThrLow, LPBYTE pResult, int *pMag, SIZE sz)
void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow,
double dRatHigh, LPBYTE pResult)
-canny algorithm void CreatGauss (double sigma, double** pdKernel, int* pnWidowSize) void GaussianSmooth (SIZE sz, LPBYTE pGray, LPBYTE pResult, double sigma) void Grad (SIZE sz, LPBYTE pGray, int* pGradX, int* pGradY, int* pMag) void NonmaxSuppress (int* pMag, int* pGradX, int* pGradY, SIZE sz, LPBYTE pNSRst) void EstimateThreshold (int* pMag, SIZE sz, int* pThrHigh, int* pThrLow, LPBYTE pGray, double dRatHigh, double dRatLow ) void Hysteresis (int* pMag, SIZE sz, double dRatLow, double dRatHigh, LPBYTE pResult) void TraceEdge (int y, int x, int nThrLow, LPBYTE pResult, int* pMag, SIZE sz) void Canny (LPBYTE pGray, SIZE sz , double sigma, double dRatLow, double dRatHigh, LPBYTE pResult)
Platform: |
Size: 9216 |
Author: 穆阿军 |
Hits:
Description: 一 摘要
单片计算机即单片微型计算机。(Single-Chip Microcomputer ),是 集CPU ,RAM ,ROM ,
定时,计数和多种接口于一体的微控制器。他体积小,成本低,功能强,广泛应用于智能产
品和工业自动化上。而51 单片机是各单片机中最为典型和最有代表性的一种。这次毕业设
计通过对它的学习,应用,从而达到学习、设计、开发软、硬的能力。
电信类的论文 毕业设计之用-Abstract Single-chip computer One-chip micro-computer. (Single-Chip Microcomputer), is a CPU, RAM, ROM, timing, counting and multiple interfaces in one microcontroller. His small size, low cost, powerful, widely used in intelligent products and industrial automation. And 51 single-chip single-chip microcomputer is the most typical and most representative one. The Graduation Project, through its study and application to achieve the study, design, development software and hardware capabilities. Telecom thesis graduation project for use
Platform: |
Size: 121856 |
Author: 小熊 |
Hits:
Description:
cntrd: calculates the centroid of bright spots to sub-pixel accuracy.
Inspired by Grier & Crocker s feature for IDL, but greatly simplified and optimized
for matlab
INPUTS:
im: image to process, particle should be bright spots on dark background with little noise
ofen an bandpass filtered brightfield image or a nice fluorescent image
mx: locations of local maxima to pixel-level accuracy from pkfnd.m
sz: diamter of the window over which to average to calculate the centroid.
should be big enough
to capture the whole particle but not so big that it captures others.
if initial guess of center (from pkfnd) is far from the centroid, the
window will need to be larger than the particle size. RECCOMMENDED
size is the long lengthscale used in bpass plus 2.
interactive: OPTIONAL INPUT set this variable to one and it will show you the image used to calculate
each centroid, the pixel-level peak and the centroid-
cntrd: calculates the centroid of bright spots to sub-pixel accuracy.
Inspired by Grier & Crocker s feature for IDL, but greatly simplified and optimized
for matlab
INPUTS:
im: image to process, particle should be bright spots on dark background with little noise
ofen an bandpass filtered brightfield image or a nice fluorescent image
mx: locations of local maxima to pixel-level accuracy from pkfnd.m
sz: diamter of the window over which to average to calculate the centroid.
should be big enough
to capture the whole particle but not so big that it captures others.
if initial guess of center (from pkfnd) is far from the centroid, the
window will need to be larger than the particle size. RECCOMMENDED
size is the long lengthscale used in bpass plus 2.
interactive: OPTIONAL INPUT set this variable to one and it will show you the image used to calculate
each centroid, the pixel-level peak and the centroid
Platform: |
Size: 2048 |
Author: santhu |
Hits:
Description:
a wrong watermark (it should not be revealed)
[z,Sz] = wm_detection(corrupted_image,randn(size(x)),L,alfa)
results: the corruped image is the watermarked image?
disp( Test results: )
if z >= Sz
disp( Watermarked image )
else-
a wrong watermark (it should not be revealed)
[z,Sz] = wm_detection(corrupted_image,randn(size(x)),L,alfa)
results: the corruped image is the watermarked image?
disp( Test results: )
if z >= Sz
disp( Watermarked image )
else
Platform: |
Size: 82944 |
Author: hoba |
Hits:
Description: Canny operator void Canny (LPBYTE pGray, SIZE sz, double sigma, doub
Platform: |
Size: 41984 |
Author: Edenbehc |
Hits:
Description: Canny算子 void Canny(LPBYTE pGray, SIZE sz, double sigma, doub-Canny operator void Canny (LPBYTE pGray, SIZE sz, double sigma, doub
Platform: |
Size: 41984 |
Author: shhhyyiwamioa |
Hits:
Description: Canny算子 void Canny(LPBYTE pGray, SIZE sz, double sigma, doub(Canny operator void Canny (LPBYTE pGray, SIZE sz, double sigma, doub)
Platform: |
Size: 53248 |
Author: 史天祥
|
Hits: