Skip to content

classify.reclassify(): consider using binary search? #758

Closed
@thuydotm

Description

@thuydotm

classify.reclassify() loops through all bins sequentially to search for the correct bin of a pixel value. In case of having many bins, using binary search will help improving the performance significantly.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions