#histogram


#! /bin/csh -fx
foreach file (test_ndvi.avhrr)
bvhist \
        hist_vars='ndvi_land' \
        bin_counts='256' \
        estimate_range='yes' \
        count_outside='yes' \
        log_scale='n' \
        unit_scale='n' \
        lookup_table='y' \
        bin_centers='no' \
test_ndvi.avhrr \
test_ndvi_histo.avhrr


enhance \
        include_vars= \
        lookup_file='test_ndvi_histo.avhrr' \
        value_var='ndvi_land' \
        index_var='histogram' \
        image_colors='256' \
        bad_index='255' \
test_ndvi.avhrr \
test_ndvi_enh.avhrr

end


