FastCV主要接口分析之四

FastCV主要接口分析之四

    10.仿射函数

        FASTCV_API void fcvGeomAffineFitf32( const fcvCorrespondences* __restrict corrs,
                     float* __restrict                    affine );

        此函数的作用是计算仿射反式,对一个给定的对应特征点集使用基于Cholkesky的线性最小二乘法分解。


    11.评估仿射变换函数

        FASTCV_API int fcvGeomAffineEvaluatef32( const fcvCorrespondences* __restrict corrs,
                          float* __restrict                    affine,
                          float                                maxsqerr,
                          uint16_t* __restrict                 inliers,
                          int32_t*                             numinliers );

        此函数的作用是坚持仿射变化后的输出,评估根据提供点指定的仿射变换,检查变化后的值是否比给定的值小,如果小认为是异常的。


    12. 过滤器函数

        FASTCV_API void fcvFilterCorrxxx( const int8_t* __restrict  kernel,
                    const uint8_t* __restrict src,
                    unsigned int              srcWidth,
                    unsigned int              srcHeight,
                    uint8_t* __restrict       dst );

        此函数是一系列函数,基于NXN矩阵的分离内核的相似性。如果源指针和目的指针指向同一个地址空间,

        则直接在此地址中变换不再开启其他内存地址空间。


    13.图像亮度相关函数

        FASTCV_API void fcvImageIntensityStats( const uint8_t* __restrict src,
                        unsigned int              srcWidth,
                        int                       xBegin,
                        int                       yBegin,
                        unsigned int              recWidth,
                        unsigned int              recHeight,
                        float*                    mean,
                        float*                    variance );

        此函数的作用在灰度图像中计算矩形的强度均值和方差。

        FASTCV_API void fcvImageIntensityHistogram( const uint8_t* __restrict src,
                            unsigned int              srcWidth,
                            int                       xBegin,
                            int                       yBegin,
                            unsigned int              recWidth,
                            unsigned int              recHeight,
                            int32_t*                  histogram  );
        此函数的作用是,创建一个直方图灰度的矩形区域的强度图,根据像素强度(范围在0到255),像素填充在大小为256的直方图中。


    14.图像集成函数

        FASTCV_API void fcvIntegrateImageuxxx( const uint8_t* __restrict src,
                     unsigned int              srcWidth,
                     unsigned int              srcHeight,
                     uint32_t* __restrict      dst );

        此函数是一些列函数,主要作用是:构建集成含有8-bit边界值图像,在其顶部和左部添加空边界(边界通常零填充)。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值