2025-06-08 11:37:52 +08:00
|
|
|
|
|
|
|
|
#ifndef CONVOLVE_H
|
|
|
|
|
#define CONVOLVE_H
|
|
|
|
|
|
2025-11-22 22:45:19 +08:00
|
|
|
#include "../../globals/algoGlobals.h"
|
2025-06-08 11:37:52 +08:00
|
|
|
|
|
|
|
|
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(
|
|
|
|
|
hls::stream<RgnPix> &InRgnPnt,
|
|
|
|
|
hls::stream<RgnPixConvolve> &OutConvolvePnt
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
#endif
|