Hi,
I am working on a programm that kan read a bitmap file and convert it
into a 1D array: It's for old medical data on paper that needs to be
compaired etc.. But now i have one problem how do elemenate the noise on
a bitmap:
I have a 2D array coming in and i read a 1D array at a time to see what
values are in it (I mask my bitmap with an array filled with values).
Now i want to make from this:
0.000
0.000
3.678
3.589
0.000
0.000
8.478
0.000
0.000
3.987
3.587
3.588
4.876
4.376
0.000
this: the average of the five values in a row, in,other words i want to
do a search in a 1D array that can locate at least 5 "non-zero" (behind
each other) values and averge them in one value, does anyone know ho to
do that?!
Thijs