.. _MERSegmentationMap:


Segmentation Map Product
========================

$SetSchemaPath mer/euc-mer-SegmentationMap.xsd


Data Product Name
_________________
.. DataProductNameStart

$PrintDataProductName

.. DataProductNameEnd


Data Product Custodian
______________________
.. DataProductCustodianStart

$PrintDataProductCustodian

.. DataProductCustodianEnd


Name of the Schema File
_______________________
.. NameSchemaStart

$PrintSchemaFilename

.. NameSchemaEnd


Last Edited for DPDD Version
____________________________
.. DpddVersionlTagStart

1.2

.. DpddVersionTagEnd


Processing Elements Creating / Updating / Using the Product
___________________________________________________________
.. PECreatorStart

**Creators:**

* MER_Detection
* MER_Deblending
* MER_MBCombine
* MER_Compression


**Consumers:**

* MER_Deblending
* MER_MBCombine
* MER_Photometry
* MER_Compression
* MER_Validation

.. PECreatorEnd


Processing Function Using the Product
_____________________________________
.. PFUsingStart

MER, SIR, SHE

.. PFUsingEnd


Proposed for Inclusion in EAS/SAS
_________________________________
.. IncludeInSASStart

This product is proposed for inclusion in the SAS: maybe

These products contain the segmentation map produced by the object detection
and deblending steps. It could be useful to have them in the SAS in case
scientist want to replicate the morphology and photometry calculations
performed by MER.

.. IncludeInSASEnd

Data Product Elements
_____________________
.. DataProductElementsStart

$PrintDataProductElements

.. DataProductElementsEnd


Detailed Description of the Data Product
________________________________________
.. DetailedDescStart

Map showing the connected pixels of the objects detected on the corresponding
MER :ref:`MERDetectionMosaic`. The object id numbers in the segmentation map
should coincide with the id numbers in the MER :ref:`MERFinalCatalog`. This
product is an output from the MER object detection and object deblending
:term:`Processing Element`\s.

The main elements inside this product are:

* **FilterList**: List of filters that were used to produce the segmentation map
  (normally VIS or NIR filters).
* **WCS**: The segmentation map astrometric parameters (e.g., CTYPE1, CRVAL2,
  CRPIX1, CD1_1).
* **ImgSpatialFootprint**: The segmentation map spatial footprint.
* **TileIndex**: The MER tile index.
* **PatchIdList** (optional): The sky patch ids associated to the product.
* **ObservationIdList**: List of unique IDs identifying the Euclid observations
  that were used to generate the product.
* **CalblockIdList** (optional): The calibration block ids associated to the
  product.
* **ProcessingMode**: The MER pipeline processing mode (e.g. WIDE, DEEP) used to
  generate the product.
* **DataStorage**: Element that links to a FITS file containing the segmentation
  map signal data set.
* **ConvolutionKernelStorage** (optional): Element that links to a file
  containing the convolution kernel used during the source detection.
* **QualityParams**: The segmentation map quality parameters.

.. DetailedDescEnd