ENH: Optimized the dicom annotations for bg and fg support