controlled-diet-methane-dataset / metadata /class_definitions.json
toqi's picture
Add files using upload-large-folder tool
afcfb44 verified
{
"class_definitions": {
"background": {
"class_id": 0,
"pixel_value": 0,
"name": "background",
"description": "Background regions without methane plumes, including ice block and ambient environment",
"color_rgb": [0, 0, 0]
},
"control_diet": {
"class_id": 1,
"pixel_value": 1,
"name": "control_diet",
"description": "Methane plumes from control diet (50:50 forage to concentrate ratio)",
"gc_range_ppm": "166-171",
"diet_composition": {
"forage_percentage": 50,
"concentrate_percentage": 50,
"description": "Standard dairy cow diet with balanced forage to concentrate ratio"
},
"color_rgb": [255, 0, 0]
},
"low_forage_diet": {
"class_id": 2,
"pixel_value": 3,
"name": "low_forage_diet",
"description": "Methane plumes from low forage diet (20:80 forage to concentrate ratio)",
"gc_range_ppm": "300-334",
"diet_composition": {
"forage_percentage": 20,
"concentrate_percentage": 80,
"description": "High-concentrate diet with reduced forage content"
},
"color_rgb": [0, 255, 0]
},
"high_forage_diet": {
"class_id": 3,
"pixel_value": 2,
"name": "high_forage_diet",
"description": "Methane plumes from high forage diet (80:20 forage to concentrate ratio)",
"gc_range_ppm": "457-510",
"diet_composition": {
"forage_percentage": 80,
"concentrate_percentage": 20,
"description": "High-forage diet with minimal concentrate supplementation"
},
"color_rgb": [0, 0, 255]
}
},
"excluded_classes": {
"control_bromoform": {
"description": "Control diet with bromoform addition (0.14 mg/L)",
"gc_range_ppm": "~1.41",
"exclusion_reason": "Methane concentration below OGI camera detection limit due to bromoform inhibition"
}
},
"class_mapping": {
"0": "background",
"1": "control_diet",
"2": "low_forage_diet",
"3": "high_forage_diet"
},
"pixel_to_class_mapping": {
"0": 0,
"1": 1,
"2": 3,
"3": 2
},
"total_classes": 4,
"annotation_format": "Binary masks with pixel values 0-3 corresponding to class IDs",
"validation_method": "Gas Chromatography (GC) concentration measurements",
"notes": {
"concentration_correlation": "Class assignments based on measured GC concentration ranges from corresponding dietary treatments",
"mask_generation": "Automated pipeline with background subtraction, thresholding, and watershed segmentation",
"quality_assurance": "Manual verification of automated mask generation results",
"pixel_value_discrepancy": "Class IDs follow paper numbering (Class 2=Low Forage, Class 3=High Forage), but pixel values in masks are swapped (Low Forage=3, High Forage=2). Dataset loader handles this conversion automatically."
}
}