HighMap library (C++)
Loading...
Searching...
No Matches
watershed_ridge.cpp File Reference

Namespaces

namespace  hmap
 
namespace  hmap::gpu
 

Functions

Array hmap::watershed_ridge (const Array &z, float amplitude=0.5f, int ir=1, float edt_exponent=0.5f, FlowDirectionMethod fd_method=FlowDirectionMethod::FDM_D8)
 Carves watershed ridges using basin-wise distance transforms.
 
Array hmap::watershed_ridge (const Array &z, Array *p_mask, float amplitude=0.5f, int ir=1, float edt_exponent=0.5f, FlowDirectionMethod fd_method=FlowDirectionMethod::FDM_D8)
 
Array hmap::gpu::watershed_ridge (const Array &z, float amplitude=0.5f, int ir=1, float edt_exponent=0.5f, FlowDirectionMethod fd_method=FlowDirectionMethod::FDM_D8, const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr)
 See hmap::watershed_ridge.
 
Array hmap::gpu::watershed_ridge (const Array &z, Array *p_mask, float amplitude=0.5f, int ir=1, float edt_exponent=0.5f, FlowDirectionMethod fd_method=FlowDirectionMethod::FDM_D8, const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr)
 See hmap::watershed_ridge.