MCPcopy Create free account
hub / github.com/LAStools/LAStools / LAScriterionKeepNDVI

Method LAScriterionKeepNDVI

LASlib/src/lasfilter.cpp:1058–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056 return (NDVI < below_NDVI) || (above_NDVI < NDVI);
1057 };
1058 LAScriterionKeepNDVI(F32 below_NDVI, F32 above_NDVI, I32 NIR) { if (above_NDVI < below_NDVI) { this->below_NDVI = above_NDVI; this->above_NDVI = below_NDVI; } else { this->below_NDVI = below_NDVI; this->above_NDVI = above_NDVI; }; this->NIR = NIR; };
1059private:
1060 F32 below_NDVI, above_NDVI;
1061 I32 NIR;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected