Files
chenzhen 222dda1e43 1,新增“App_ThermalImageSystem”;
2,新增“Apps”;
3,新增“Common”;
4,新增“FileList”;
5,新增“MediaX”;
6,新增“OpenSource”;
7,新增“Samples”;
8,新增“SoftwareBusinessLines”.
2026-02-14 23:03:23 +08:00

27 lines
1.1 KiB
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef _BADPOINTSDLL_H_
#define _BADPOINTSDLL_H_
typedef unsigned char PIXELTYPE;
/***************************************************************************
* BadPointsDll()
* 功能描述:坏点检测
* 输入参数unsigned char *pSrc 原始图像数据
* int nWidth 图像宽度
* int nHeight 图像高度
* int nWinHalf 检测窗口半径默认3
* int nTresh 坏点检测阈值默认20
* int Pos 无效区域位置
* 返回参数SPointCnt[0]:中心区域坏点总数
SPointCnt[1]:中心区域孤立坏点个数
SPointCnt[19]:中心区域丛生坏点个数
SPointCnt1[0]:总区域坏点总数
SPointCnt1[1]:总区域孤立坏点个数
SPointCnt1[19]:总区域丛生坏点个数
数组内其他位置对应丛生坏点大小及个数SPointCnt[2] = 1即丛生坏点像素大小为2数量为1
pMenuFlag11:坏点二值图
***************************************************************************/
extern "C" __declspec(dllexport) void BadPointsDll(PIXELTYPE *pSrc, int nWidth, int nHeight, int nWinHalf, int nTresh, int index,int *SPointCnt1,PIXELTYPE *pMenuFlag11);
#endif