Hi everyone,
I want to add one criteria in my algorithm to process one image.I have written code in atmocor2 & its working fine.Now i want change the pixel selection in calculation...If i want to replace the pixel value with the nearest pixel value then how i can write it in coding inside atmocor2....
Please give me some solution to select the nearest pixel value for some pixel values in the particular image for calculation
Thanks & Regards
SHURESH M
By @bryan
Date 2012-01-23 21:42
Shuresh,
atmocor2() has no information regarding adjacent pixels. You would have to modify the code (significantly) to pass that information into atmocor2(). I can't tell you how to do it without doing it myself, which is not likely to happen anytime soon. One hint: during the reading process, l2gen builds a buffer of level-1 records called l1que. Try "grep l1que *.c". The buffer is used in filter.c and sst.c to do adjacent pixel arithmetic. You will have to do something similar within atmocor2().
Good luck,
-- bryan