#include #include #include "array.h" //------------------------------------------------------- // f7.cpp // image enhencement using accumulate histogram density function // MIAT Lab, Kaohsiung, Taiwan // CHEN Ching-Han, 2001.08.26 //------------------------------------------------------- void enhencement(uc2D &ima0, uc2D ima1); void main() { ifstream in1("01.raw",ios::binary); ofstream out1("test.raw",ios::binary); uc2D ima0,ima1; ima0.Initialize(300,300); ima1.Initialize(300,300); for(int i=0;i>ima0.m[i][j]; int ii,jj,count; enhencement(ima0, ima1); for(int i=0;i