https://5dok.net/document/lzg1n87z-parameter-analysis-shannon-divergence-boundary-detection-streaming-applications.html