Crop and Framing
Decide which registered pixels are worth keeping and what sky composition becomes the target's repeatable frame -- a constrained framing decision, not an area-maximization or generic image-quality problem.
schema 1 · revision 1Recognize it
- Black bands, ragged edges, or high-noise strips survive at the stack's border.
- A mosaic's outer wings carry far less registered-frame support than its center.
- A small or elongated target sits too tight in frame, or a bright core crowds out a faint extended envelope.
- The same target's framing appears to drift, or fails to reproduce, across independently captured sessions.
Intended output
A linear FITS containing the selected sky region, with valid WCS where a WCS path was used, enough retained subject and context for downstream processing, no avoidable no-data wedges from the framing transform, and a persisted target-level record of how the frame was chosen.
Required input state
- A linear, registered/stacked science image in NOVA's normal path.
- Knowledge of whether a real registered-frame count-coverage map exists and is aligned with the stack.
- Knowledge of whether celestial WCS is present and trustworthy enough to define a repeatable sky box.
- Target canonical identity and catalog center/size where canonical framing is being considered.
- Knowledge of whether the data are mosaic/max-framing or a single ordinary pointing, and whether a saved target crop already exists.
What NOVA does
On a target's first normal run, NOVA generates multiple candidate framings -- artifact trim, canonical WCS frame, count-coverage, intersection, and image-derived largest-inscribed-rectangle variants -- and opens a VM-hosted human review; the operator selects a generated candidate or draws/rotates a manual crop, and that choice is persisted primarily as a WCS sky box (center RA/Dec, size, scale, position angle), with fractional pixel bounds as a fallback. Later normal runs reproject the current stack onto that saved sky box rather than re-selecting from scratch; a forced recrop returns the target to the review branch. A native-resolution floor -- the larger of 900 pixels or 45% of the input frame's short side -- can override the preferred candidate if it would otherwise be too small. Because reframing changes field of view, the standard whole-frame objective-quality gate explicitly does not evaluate crop.
Use when
- Registration or integration has left black, ragged, or high-noise borders that a chosen support criterion should remove.
- A mosaic or max-framing result contains weakly supported outer regions worth trimming honestly.
- A stable, reproducible frame is required across future sessions on the same target.
- Corrected WCS or target metadata makes a previously persisted crop worth revisiting.
Skip when
- A valid saved human crop already matches the current capture geometry.
- No candidate can demonstrate that the subject and its required context survive the crop.
- WCS or target metadata are too uncertain to trust a canonical sky box, and image-derived heuristics risk confusing real extended signal with a border artifact.
- Changing the frame would break a measurement comparison that depends on identical field of view.
Limits
- Retained area is a descriptive geometry fact, never a quality score: the largest crop can be wrong and the smallest clean crop can be wrong.
- A positive-looking coverage or artifact metric does not establish that the subject and its context survived framing.
- Reprojection onto a canonical sky box is coordinate-normalizing interpolation, not a lossless pixel crop and not automatically flux-conserving.
- Several current Experiment Mode crop candidate labels do not execute what their names claim (see Experiment Mode section) -- a recorded historical label is not proof of which geometry actually ran.
- The project's own S50-resolution finding applies here directly: SeeStar S50 data cannot afford an over-aggressive crop given its native resolution, which is why a native-resolution floor exists to override an automatically preferred candidate that would otherwise be too small.
Scientific and aesthetic notes
- Crop is a constrained optimization -- maximize useful retained subject and context subject to edge/support reliability, required target extent, useful sampling, valid coordinates, and no unacceptable resampling artifacts -- not a single number to maximize or minimize.
- "Coverage" is overloaded in the current implementation: true registered-frame count coverage (from the stacker's coverage map) and the image-derived blank/noise heuristic used by legacy auto-crop are different evidence classes that happen to share a name.
- An all-frame intersection is not automatically the safest choice -- one shifted or rotated frame can shrink the common rectangle far more than the support gain is worth.
- A canonical WCS frame trades quality for repeatability: it is stable across sessions when target metadata are correct, but the current implementation discards the reprojection footprint and can zero-fill area beyond the actual supported input.
- Manual composition legitimately captures subject-preservation and context judgments that none of NOVA's current automated metrics fully express; treating human review as a workaround rather than a real acceptance dimension misdescribes the design.
Evidence and measurements
| Measurements | Acceptance criteria |
|---|---|
|
|
Cross-tool matrix
| Tool | Equivalence | Expected result | Evidence |
|---|---|---|---|
| nova | Exact replay | A linear FITS on the selected sky region with valid WCS where used, sufficient retained subject/context, and a persisted target-level framing record. | nova-crop-source, nova-m102-crop-critique |
| pixinsight | Functional alternative | A documented alternative crop; exact equivalence to NOVA's persistent sky-box framing is not claimed. | unverified |
| siril | Conceptual substitute | A registered/stacked sequence whose extent matches the declared framing choice, suitable as crop input. | siril-framing-docs-crop |
| saspro | Functional alternative | A documented alternative crop; exact equivalence to NOVA's path is not claimed. | unverified |
NOVA crop and framing current source
- On first normal run, generate the candidate set and review the proposed frames against subject and context, not only against border cleanliness.
- Prefer the true registered-frame count-coverage map over image-derived border heuristics when both are available for a support-based decision.
- Persist the accepted frame as a WCS sky box where possible; verify the native-resolution floor did not silently override a canonical selection for a small target.
- For Experiment Mode use, confirm which geometry actually executed before treating a candidate label as evidence -- see the Experiment Mode note below.
Controls and starting ranges
- count-coverage threshold
- 0.80 minimum-tile-count fraction (engineering threshold, not a physical optimum)
- intersection threshold
- 0.999 minimum-tile-count fraction (effectively all-frame support)
- image-derived LIR preset
- conservative / balanced / aggressive noise and blank-fraction thresholds
- native-resolution floor
- max(900 px, 45% of input frame's short side)
Mask behavior: No processing mask; crop operates on the full frame or a stored sky-box region, not a weighted selection.
Failure modes
- A technically clean crop removes the subject or its required context (historical M 102 evidence: 93% area loss, subject reduced to a core-like blob).
- Intersection framing over-crops because of one outlier frame.
- A canonical sky box requests more sky than the input actually supports, producing zero-filled borders.
- A generated (non-manual) candidate's fractional fallback cannot reproduce an originally off-center crop when the WCS path is unavailable.
Recovery
- Return to the pre-crop registered/stacked image; do not attempt to recover lost sky downstream.
- Force a recrop with a support- or context-aware strategy, or a manual frame, once the failure mode is identified.
- Validate WCS against sky/catalog geometry before trusting a repeated crop's coordinates.
PixInsight DynamicCrop / mosaic tools unverified installed version
- Define the retained region against the same subject/context and support evidence used elsewhere in this article, not composition alone.
- Record the exact bounds, rotation, and interpolation used so the result is reproducible.
- Treat this as a manual, one-time pixel selection unless it is deliberately reconciled with NOVA's WCS sky-box semantics.
Controls and starting ranges
No fixed starting range is claimed.
Mask behavior: No mask behavior claimed for this path.
Failure modes
- A pleasing composition is accepted without checking retained support or coordinate validity.
Recovery
- Re-derive the crop from the registered/stacked source with explicit bounds recorded.
Siril sequence framing 1.4.4 documentation
- Use Siril's own min/max sequence-framing choice at registration time to establish intersection or union geometry (see the Registration article); this is upstream of, and distinct from, NOVA's post-stack candidate selection.
- If a further crop is applied after stacking, record its bounds and rotation explicitly.
Controls and starting ranges
- sequence framing
- min (intersection) or max (union), set at registration
Mask behavior: Not applicable at this stage.
Failure modes
- Min/max framing at registration time is conflated with NOVA's own post-stack crop candidates.
Recovery
- Treat Siril's framing choice as upstream geometry input to crop, not as the crop decision itself.
Seti Astro Suite Pro unverified installed version
- Use a documented crop/framing workflow only after confirming it on the installed version.
- Record retained bounds, rotation, and support evidence rather than relying on visual composition alone.
Controls and starting ranges
No fixed starting range is claimed.
Mask behavior: No mask behavior claimed for this unverified path.
Failure modes
- An unverified menu path is presented as an established equivalent.
Recovery
- Verify the installed tool's actual behavior before publication.
Validation status
Not yet Jeff-validated. Use this as sourced guidance, not a certification.
Sources
- Phase-2 research packet P08, 2026-08-27
Handbook P08 — Crop and Framing— Reasoned translation - NOVA crop, framing, and canonical-reprojection implementation
nas_server/seti_astro.py (crop, crop_multi, _artifact_trim_bounds); nas_server/canonical_frame.py (canonical_target_wcs, reproject_interp); nas_server/crop_review.py; nas_server/target_crop.py; nas_server/auto_process.py (crop branch, Experiment Mode routing, objective-gate exemption)— NOVA source-confirmed - M 102 crop-subject-loss critiques, 2026-07-18
critiques/20260718_182327_seestar_galaxy.md; critiques/20260718_192500_seestar_galaxy.md— NOVA execution record - Remote-worker crop-review hang and the VM-only invariant (issues #397, #399)
issue #397; issue #399— NOVA execution record - Astropy WCS documentation — Vendor-documented
- reproject image reprojection documentation — Vendor-documented
- Siril 1.4.4 sequence registration framing (min/max) documentation — Vendor-documented
Related evidence
The M66 recipe and Jeff-validation ledger will link here when their static exports are available. Until then, this article remains explicitly unvalidated.