operations: npd: add options
operations: npd: add proper boundary check for get/set pixel functions