I want to make grey pixel near to black pixel to be darker. And grey pixel near white pixel become lighter. I also want to make green and red pixel become white. How can I do? Which technique would you prefer? I've tried for weeks but I cannot find an idea that depends upon near pixel and levels and color.