📄 threshold.c
字号:
#include <stdio.h>
#include <imagelib.h>
#include "imagesample.h"
#define WIDTH 128
#define HEIGHT 128
#pragma DATA_SECTION(temp_wksp, ".wksp_array");
short temp_wksp[WIDTH];
void main( )
{
short rows, cols;
short threshold_value;
threshold_value = 230;
cols = WIDTH;
rows = HEIGHT;
IMG_threshold(&goldhill[0][0], &goldhill[0][0], cols, rows, threshold_value );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -