compare_images
Compare two open PixInsight views pixel by pixel to measure per-channel max, mean, and 99th-percentile absolute differences, plus out-of-range fractions. Neither view is altered.
Instructions
Compare two open views of the same width, height and channel count, pixel by pixel, over the whole image or a rectangle. Per channel: maximum, mean and 99th-percentile absolute difference, and the fraction of samples outside [0, 1] in each view. "identical" is true when every absolute difference is 0. The 99th percentile is taken over at most 2,000,000 evenly spaced samples (p99Samples says how many); maximum and mean use every sample. Neither view is changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | Optional region [x0, y0, x1, y1] in pixels, x1/y1 exclusive | |
| view_id | Yes | First view (A) | |
| reference_id | Yes | Second view (B), compared against A |