-
opencv透视变换源码
//依据opencv源码改编而来,代码中已剔除opencv源码中优化部分
void MywarpPerspective(const Mat &_src, Mat &_dst, const Mat &_M0,
Size dsize, int flags, int borderType, const Scalar& borderValue)
{
Mat src = _src, M0 = _M0;
_dst.create(dsize.empty() ? src.size() : dsize, src.type());
Mat dst = _dst;
if (dst.data == src.data)
src = src.clone();
double M[9];
Mat matM(3, 3, CV_64F, M);
int interpolation = flags & INTER_MAX;
if (interpolation == INTER_AREA)
interpolation = INTER_LINEAR;
M0.convertTo(matM, matM.type());
for (int i = 0; i < roiPoints.size(); i++)
{
double X0 = M[0] * roiPoints[i].
- 2022-08-13 06:32:18下载
- 积分:1
-
deleteMutex
Visual Studio C# project for deleting Windows mutex object .
- 2014-11-02 22:15:33下载
- 积分:1
-
MSP430F530x_uscia0_uart_03
MSP430F5310,时钟配置,串口收发例程。(MSP430F5310, clock configuration, serial transceiver routines.)
- 2013-11-26 15:05:50下载
- 积分:1
-
c
说明: c语言链表程序,可用且实用,适合c语言初学者实用(c language program list, available and practical, suitable for beginners)
- 2011-04-06 16:31:43下载
- 积分:1
-
daxiaoxiehuhuan
实现大小写互换,即输入大写子母程序会自动转成小写子母(Realization case swap)
- 2014-02-23 09:40:42下载
- 积分:1
-
asymmetric_Bessel
非对称的贝塞尔光束的分布!以及光的自旋和轨道角动量对他的影响!(Bessel beams)
- 2021-04-04 14:39:04下载
- 积分:1
-
Morphology
对图像的dilate或erode ,使用基于Opencv的C代码(Dilate or erode an input image by using C code based on OpenCV)
- 2012-05-28 22:24:15下载
- 积分:1
-
c++ copy file 示例
c++ copy file 示例
- 2015-01-23下载
- 积分:1
-
海康官方demo
海康官方demo,包含操作文档
- 2020-12-12下载
- 积分:1
-
模仿窗口资源管理器的小程序,我们发现很有用,然后点击一下就可了…
一个仿windows资源管理器的小程序,大家觉得有用的话就支持一下-Imitation windows explorer a small program, we find useful, then click on the support of
- 2022-09-26 06:45:03下载
- 积分:1