搜索资源列表
cvThreshold_cvAdaptiveThreshold
- 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: cvAdaptiveThr
cvResize
- 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
mouse_event
- 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
histMeanValue
- 包含三个功能的演示。直方图,otsu算法,计算灰度中值。最后统计0像素占的比例。 float getMeanValue(IplImage* image) //灰度均值 int getMedian(IplImage* image) //灰度中值 void otsu (IplImage *image) //大律法阈值分割-Contains three functional demo. float getMeanValue (IplImage* image) //gray ave
myWatershed
- 参考文献:Meyer, F. Color Image Segmentation, ICIP92, 1992 代码原型:OpenCV2.4.3——>void cvWatershed(const CvArr* image, CvArr* markers)-References: Meyer, F. Color Image Segmentation, ICIP92 1992 code prototype: OpenCV2.4.3-->gt void cvWatershed (co