?? fvsedgedetect.cpp
字號:
#include "fvsimage.h"#include "fvstypes.h"#include "fvsedgedetect.h"FvsError_t FVS_EdgeDetect(FvsImage<FVS_IMAGE_TYPE> & img){ uint32_t x, y; // loop through image pixel by pixel for (y = 0; y < img.height(); y++) { for (x = 0; x < img.width(); x++) { if (img[x][y] < EDGETHRESHOLD) img[x][y] = COLOR_LINE; else img[x][y] = COLOR_BACKGROUND; } } return FvsOk;}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -