hydroScalingAPI.modules.networkExtraction.objects
Class GetRasterNetwork

java.lang.Object
  extended by hydroScalingAPI.modules.networkExtraction.objects.GetRasterNetwork

public abstract class GetRasterNetwork
extends java.lang.Object

This class implements a series of mechanisms for Network pruning. The most succesfull one is the Laplace2 method. It incorporates several criteria for determination of the location of the network. However the criteria are only valid for high-resolution DEMs (30 m or less).

Author:
Jorge Mario Ramirez

Constructor Summary
GetRasterNetwork()
           
 
Method Summary
static double[][] calculaPromAP(NetworkExtractionModule Proc)
          Bins Areas and Slopes to facilitate the data visualization
static void cleanShorts(NetworkExtractionModule Proc)
          Removes short streams from the raster network.
static void fixIntersections(NetworkExtractionModule Proc)
          Corrects extra intersections at points of change in the river network
static void getArea_Pend_Dif(NetworkExtractionModule Proc)
          Calculates the Area-Slope analysis over the blue lines
static void getArea_Pend(NetworkExtractionModule Proc)
          Calculates the Area-Slope for points in the DEM to help the user determine criteria for and Area-Slope threshold
static void laplace2(NetworkExtractionModule Proc, int m)
          Applies the convergence and laplacian criteria
static void todo_uno(NetworkExtractionModule Proc)
          Assigns all to pixels to be part of the network.
static void umbral_Area_Ord(NetworkExtractionModule Proc)
          Applies the Horton order threshold criteria
static void umbral_Area(float pixUmbral, NetworkExtractionModule Proc)
          Applies the Area threshold criteria
static void umbral_Montgomery(NetworkExtractionModule Proc)
          Applies the Area Montgomery Threshold criteria
static void umbralASalfa(NetworkExtractionModule Proc)
          Applies an Area-Slope threshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRasterNetwork

public GetRasterNetwork()
Method Detail

todo_uno

public static void todo_uno(NetworkExtractionModule Proc)
Assigns all to pixels to be part of the network. This is a good method for low resolution DEMs (250 m or more) since it is almost guarateed that a pixel contains a channel

Parameters:
Proc - The parent NetworkExtractionModule

umbral_Area_Ord

public static void umbral_Area_Ord(NetworkExtractionModule Proc)
Applies the Horton order threshold criteria

Parameters:
Proc - The parent NetworkExtractionModule

umbral_Area

public static void umbral_Area(float pixUmbral,
                               NetworkExtractionModule Proc)
Applies the Area threshold criteria

Parameters:
pixUmbral - The treshold in number of pixels
Proc - The parent NetworkExtractionModule

umbral_Montgomery

public static void umbral_Montgomery(NetworkExtractionModule Proc)
Applies the Area Montgomery Threshold criteria

Parameters:
Proc - The parent NetworkExtractionModule

fixIntersections

public static void fixIntersections(NetworkExtractionModule Proc)
Corrects extra intersections at points of change in the river network

Parameters:
Proc - The parent NetworkExtractionModule

cleanShorts

public static void cleanShorts(NetworkExtractionModule Proc)
Removes short streams from the raster network. This is because external channels that are only one pixel long are usualy errors.

Parameters:
Proc - The parent NetworkExtractionModule

laplace2

public static void laplace2(NetworkExtractionModule Proc,
                            int m)
Applies the convergence and laplacian criteria

Parameters:
Proc - The parent NetworkExtractionModule
m - The number of convergent cells required for channel initiation

getArea_Pend

public static void getArea_Pend(NetworkExtractionModule Proc)
Calculates the Area-Slope for points in the DEM to help the user determine criteria for and Area-Slope threshold

Parameters:
Proc - The parent NetworkExtractionModule

calculaPromAP

public static double[][] calculaPromAP(NetworkExtractionModule Proc)
Bins Areas and Slopes to facilitate the data visualization

Parameters:
Proc - The parent NetworkExtractionModule
Returns:
The simplified array of areas and slopes

getArea_Pend_Dif

public static void getArea_Pend_Dif(NetworkExtractionModule Proc)
Calculates the Area-Slope analysis over the blue lines

Parameters:
Proc - The parent NetworkExtractionModule

umbralASalfa

public static void umbralASalfa(NetworkExtractionModule Proc)
Applies an Area-Slope threshold

Parameters:
Proc - The parent NetworkExtractionModule


CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.