Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - INT 1
Search - INT 1 - List
DL : 0
Resize 圖像大小變換 void cvResize( const CvArr* src, CvArr* dst, int interpolation=CV_INTER_LINEAR ) src 輸入圖像. dst 輸出圖像. interpolation 插值方法: * CV_INTER_NN - 最近鄰插值, * CV_INTER_LINEAR - 雙線性插值 (預設使用) * CV_INTER_AREA - 使用象素關係重採樣。當圖像縮小時候,該方法可以避免波紋出現。當圖像放大時,類似於 CV_INTER_NN 方法.. * CV_INTER_CUBIC - 立方插值. 函數 cvResize 將圖像 src 改變尺寸得到與 dst 同樣大小。若設定 ROI,函數將按常規支持 ROI. -Resize the image size conversion void cvResize (const CvArr* src, CvArr* dst, int interpolation = CV_INTER_LINEAR) src input image. Dst output image. Interpolation interpolation method:* CV_INTER_NN- nearest neighbor interpolation,* CV_INTER_LINEAR- bilinear interpolation (default use)* CV_INTER_AREA- resampling using pixel relationship. The time when the image reduction, the method avoids ripple appears. When the image is zoomed in, like CV_INTER_NN method ..* CV_INTER_CUBIC- cubic interpolation. Function cvResize change the size of the image src and dst are the same size. If the setting ROI, will be general support functions ROI.
Date : 2026-01-07 Size : 1kb User : 張天彥

cvThreshold和cvAdaptiveThreshold实现方法,函数:cvAdaptiveThreshold( const void *srcIm, void *dstIm, double maxValue, int method, int type, int blockSize, double delta ) -cvThreshold and cvAdaptiveThreshold implementation method, the function: cvAdaptiveThreshold (const void* srcIm, void* dstIm, double maxValue, int method, int type, int blockSize, double delta)
Date : 2026-01-07 Size : 1kb User : 贾峯

This program creates a rectangle when you click the mouse on the window, and stretches the rectangle until you release the mouse. This requires the creation of a mouse callback. For the main function we use a while loop that keeps redrawing each box as its created. Boxes are drawn and windows are created as learned in previous tutorials. The main new thing is the creation of the mouse callback. This is initialized with cvSetMouseCallback. The callback itself is an arbitrarily named function of the form my_mouse_callback( int event, int x, int y, an int flags, void* param) where x and y are the mouse position and event is a code representing what mouse action occured
Date : 2026-01-07 Size : 843kb User : halima

图像Opencv 格式和uchar及int型格式的转换函数,另外还有面积滤波和填充的Opencv函数。-Opencv image format and uchar int type and format conversion functions, in addition to filtering and filling the area Opencv function.
Date : 2026-01-07 Size : 2kb User : Fu Yao

包含三个功能的演示。直方图,otsu算法,计算灰度中值。最后统计0像素占的比例。 float getMeanValue(IplImage* image) //灰度均值 int getMedian(IplImage* image) //灰度中值 void otsu (IplImage *image) //大律法阈值分割-Contains three functional demo. float getMeanValue (IplImage* image) //gray average int getMedian (IplImage* image) // grayscale value void-otsu (IplImage* image) // big law threshold segmentation
Date : 2026-01-07 Size : 3.53mb User : glemo

DL : 0
基于opencv的图片拼接成视频源码,提供了两个函数-readAllImg(vector<string> filesName)和img2video(vector<Mat> imgFiles,string saveFilePath,int fps)-Based on OpenCV,to turn pictures to avi
Date : 2026-01-07 Size : 1kb User : zhanghaibo

实现相机标定与畸变矫正,主要针对鱼眼镜头畸变的校正。源码中需要将int t_main修改为int main,其余均有解释,可按需求更改。-Achieve camera calibration and distortion correction, mainly for correcting fisheye distortion. Source code need to be modified to int t_main int main, the rest are explained, according to the needs of the change.
Date : 2026-01-07 Size : 882kb User : 老亢
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.