Skip to content

Skip high-pass filter for stdev and count tiles (#47) - #52

Draft
endolith wants to merge 1 commit into
mainfrom
cursor/fix-stdev-count-no-highpass-5cdf
Draft

Skip high-pass filter for stdev and count tiles (#47)#52
endolith wants to merge 1 commit into
mainfrom
cursor/fix-stdev-count-no-highpass-5cdf

Conversation

@endolith

Copy link
Copy Markdown
Owner

Summary

Closes #47.

The tile pipeline applied the same Gaussian high-pass (elevation minus smoothed elevation) to every grid_method. For PDAL writers.gdal outputs count and stdev, that residual is not a meaningful visualization of the statistic and should use the gridded values directly (after NaN handling), consistent with how min/max/mean/idw benefit from edge emphasis on elevation.

Changes

  • process_dsm(dsm, grid_method) returns filled data only for stdev and count; other methods keep the existing high-pass.
  • serve_tile passes grid_method into processing.
  • Startup directory creation includes stdev and count under tiles/ and dsms/ so those URL paths work like the other methods.
Open in Web Open in Cursor 

PDAL writers.gdal count and stdev outputs are point statistics per cell,
not elevation surfaces. The Gaussian residual high-pass is only meaningful
for min/max/mean/idw elevation rasters.

Co-authored-by: endolith <endolith@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stdev should not have high-pass filter

2 participants