>>25046Take a look for yourself
Basically I am using COBOL to open a text file formatted as follows:
x_ccordinate,y_coordinate,brightness value
1,1,122
2,1,124
3,1,122
4,1,123
5,1,122
etc etc etc
Convert it to a text file as follows for later use:
0001 0001 0122
0002 0001 0124
0003 0001 0122
0004 0001 0123
0005 0001 0122
etc etc etc
And then to display the record in the converted file with the highest brightness value as follows:
HIGHEST BRIGHTNESS FOUND: 0244
LOCATED AT X: 0414 Y: 0187
Here is how I did it. Open the textfile in notepad++ to see the formatting. Tomorrow I am going to try and implement pic related formula into this and find a way to make cobol generate an annulus mask