mbedward / jaitools

Raster image processing for Java developers
17 stars 15 forks source link

Add parameters to RangeLookup operator for default value and pass-through #213

Closed mbedward closed 11 years ago

mbedward commented 11 years ago

Previously we had a default value parameter stored in RangeLookupTable. Since some of table's lookup logic has had to be moved into the image op class (to avoid problems for web apps) it seems best to also let the image op take care of the default value and pass-through value options rather than the table. The table thus becomes simpler and there will be an obvious division of responsibility between the classes.

mbedward commented 11 years ago

Added as part of version 1.3.1. Single "default" parameter to the operator: passed a value to return for all unmatched source values, or null to indicate that unmatched source values should pass through to the destination.