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边界值图像,在其顶部和左部添加空边界(边界通常零填充)。

你可能感兴趣的:(fastcv,Qualcomm,hexagon)