#include #include #include "array.h" //--------------------------------------------------------------- // f2.cpp // Binarization with hard-limit thresholding // MIAT Lab, Kaohsiung, Taiwan // CHEN Ching-Han, 2001.08.23 //--------------------------------------------------------------- void main() { ifstream in("01.raw",ios::binary); ofstream out("test.raw",ios::binary); uc2D ima; ima.Initialize(300,300); for(int i=0;i>ima.m[i][j]; // Binarization for(int i=0;i