run_per_channel_abe
Removes background gradients from each RGB channel independently by applying AutomaticBackgroundExtractor to red, green, and blue, then recombines them into the original color view.
Instructions
Run AutomaticBackgroundExtractor (ABE) separately on the R, G and B channels of a color view, then recombine them into the view with ChannelCombination. ChannelExtraction writes the channels to the temporary views __pca_R, __pca_G and __pca_B; ABE subtracts its model from each in place and discards the model; the temporary views and any other view the call opened are closed afterwards. An ABE parameter that is not given is left at PixInsight's default, as run_abe does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | RGB color view ID (modified in place) | |
| tolerance | No | ABE sample rejection tolerance for every channel (AutomaticBackgroundExtractor tolerance); omitted = PixInsight default | |
| poly_degree | No | ABE polynomial degree for every channel (AutomaticBackgroundExtractor polyDegree); omitted = PixInsight default |