CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - SIZE sz
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - SIZE sz - List
[
Windows Develop
]
reply_1_855734
DL : 0
// 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
Update
: 2008-10-13
Size
: 53.33kb
Publisher
:
王学金
[
Special Effects
]
Cannyandlog
DL : 0
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)
Update
: 2008-10-13
Size
: 8.83kb
Publisher
:
穆阿军
[
Windows Develop
]
reply_1_855734
DL : 0
// 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
Update
: 2025-02-19
Size
: 53kb
Publisher
:
王学金
[
Special Effects
]
Cannyandlog
DL : 0
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)
Update
: 2025-02-19
Size
: 9kb
Publisher
:
穆阿军
[
SCM
]
sz
DL : 0
一 摘要 单片计算机即单片微型计算机。(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
Update
: 2025-02-19
Size
: 119kb
Publisher
:
小熊
[
Windows Develop
]
b
DL : 0
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
Update
: 2025-02-19
Size
: 2kb
Publisher
:
santhu
[
Web Server
]
1-netwo
DL : 0
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
Update
: 2025-02-19
Size
: 81kb
Publisher
:
hoba
[
OS program
]
cGrayLPBYTE
DL : 0
Canny operator void Canny (LPBYTE pGray, SIZE sz, double sigma, doub
Update
: 2025-02-19
Size
: 41kb
Publisher
:
Edenbehc
[
File Operate
]
LPBJTE__void
DL : 0
Canny算子 void Canny(LPBYTE pGray, SIZE sz, double sigma, doub-Canny operator void Canny (LPBYTE pGray, SIZE sz, double sigma, doub
Update
: 2025-02-19
Size
: 41kb
Publisher
:
shhhyyiwamioa
[
ComboBox
]
nigma
DL : 0
Canny算子 void Canny(LPBYTE pGray, SIZE sz, double sigma, doub(Canny operator void Canny (LPBYTE pGray, SIZE sz, double sigma, doub)
Update
: 2025-02-19
Size
: 52kb
Publisher
:
史天祥
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.