We propose a new subdivision technique directly subdividing the grating stripe by using complementary metal-oxide semiconductor (CMOS) microscopic imaging system combined with image processing. The corresponding optical system, subdivision principle,