* @param n
* @return
*/
public static ArrayList<Double> getThresholdLevels(Landscape2D data, double bthr, int n){
Distribution dis= new Distribution(data.getValues());
double range= dis.max()-bthr;
if(range<=0){
return null;
}
double v= bthr;
double step= range/n;