引用第4楼chiataimakra于2009-07-29 16:54发表的 :然后就是这一段 if (RGB2L(ptr[2], ptr[1], ptr[0]) < value) { pic[j, i] = 1; }.......