ENH add type annotation and further checks to math img
ENH add type annotation and further checks to math img: a task in life-science-SWE1.0 (Harbor dataset). Title: ENH add type annotation and further checks to math img
The task
**Title:** [ENH] add type annotation and further checks to math_img
Part of scalingX/life-science-SWE1.0.