With respect to auto-identification of cotton and ramie and determination of blending ratio in cotton and ramie fiber based on stain and image process method,the method for staining and identifying of cotton and ramie and its preprocess condition are researched.It reveals that swelling process before staining sample and testing under low temperature environment can maximize the color difference between cotton and ramie.Color forming mechanism of cellulose-iodine compound and its influencing factors are also studied.It is found that color stability in cotton is better than in ramie because of cellulose-iodine compound formed in cotton and color difference between cotton and ramie is narrowed with time elapsing under atmospheric temperature.It is also found that color stability for cotton and ramie is good and color difference between cotton and ramie is maximized under low temperature.In addition,focusing plays an important role in determining stained color of fiber.This research has valued reference for automatic determination of the blending ratio of cotton and ramie fiber.