Project

General

Profile

PS selection by spectral diversity » ipta.sh

Kang Liang, 05/12/2022 07:07 AM

 
mkdir proc

cd proc

/bin/cp ../inputs/dates .
mkdir ../rslc2

run_all dates 'SLC_ovr ../inputs/rslc/$1.rslc ../inputs/rslc/$1.rslc.par ../rslc2/$1.rslc ../rslc2/$1.rslc.par 2 2 0 5'

run_all dates 'multi_look ../rslc2/$1.rslc ../rslc2/$1.rslc.par ../rslc2/$1.rmli ../rslc2/$1.rmli.par 2 3 0 4800'

cd ..
mkdir ./ipta
cd ./ipta
cp ../proc/dates .

make_tab dates SLC_tab '../rslc2/$1.rslc ../rslc2/$1.rslc.par'
mk_sp_all SLC_tab sp_dir 4 4 0.0 0.4 1.0 2

# determine a first point candidate list based on averaged spectral diversity

# first attempt: ave.sp_cc threshold 0.40
single_class_mapping 2 sp_dir/ave.sp_cc 0.40 1.0 sp_dir/ave.sp_msr 0.8 100. ptmap.bmp 6400 1 0 1 1
# --> candidates for threshold 0.40: 115113 not 281012

# second attempt: ave.sp_cc threshold 0.30
single_class_mapping 2 sp_dir/ave.sp_cc 0.30 1.0 sp_dir/ave.sp_msr 0.8 100. ptmap.bmp 6400 1 0 1 1
#--> candidates for threshold 0.30: 1224373 not 2196096

# next attempt: ave.sp_cc threshold 0.32
single_class_mapping 2 sp_dir/ave.sp_cc 0.34 1.0 sp_dir/ave.sp_msr 0.8 100. ptmap.bmp 6400 1 0 1 1
# --> candidates for threshold 0.34: 389957 not 802938
(1-1/2)