Opened 13 years ago
Closed 12 years ago
#131 closed enhancement (fixed)
Make moment mask image
Reported by: | MatthewWhiting | Owned by: | MatthewWhiting |
---|---|---|---|
Priority: | normal | Milestone: | Release-1.3 |
Component: | Output | Version: | 1.1.13 |
Severity: | normal | Keywords: | |
Cc: |
Description
We currently can produce a moment map, but it would be good to also be able to produce a moment mask - that is, a 2D mask image showing just the spatial locations of objects.
This could be the mask equivalent of the kvis annotation file.
Change History (2)
comment:1 Changed 12 years ago by
Milestone: | Release-2.0 → Release-1.3 |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Done in [1142]. This works in exactly the same was as other FITS writing options. The mask only takes values of 0 or 1 (can't associate pixels uniquely with an object).
I fixed a bit of the code for writing the mask FITS files - we had it writing out the BLANK, BSCALE, ... header keywords, but these are not needed for the mask images. We want to preserve the integral nature of the pixel values. All other images are written out as FLOAT_IMG.
Documentation has been updated for the new parameters and giving a description of this new mode.
Closing.
Should be possible to do this in 1.3.