26 lines
509 B
C
Raw Normal View History

2025-08-16 15:25:29 +08:00
#ifndef CONVOLVE_H
#define CONVOLVE_H
#include "algoGlobals.h"
#include <vector>
const int mask_1st[16] =
{
0, 40296, 85253, 152591, 228164, 278336, 262648, 161763,
0, -161763, -262648, -278336, -228164, -152591, -85253, -40296
};
const int mask_2nd[16] =
{
0, 33453, 56890, 75525, 69805, 23272, -58318, -139282,
-173404, -139282, -58318, 23272, 69805, 75525, 56890, 33453
};
void convolve(
std::vector<RgnPix> &InRgnPnt,
std::vector<RgnPixConvolve> &OutConvolvePnt
);
#endif