Application of optical density meter