my input image is the gray level image ..In my work,i am using the isolation based on simple threshold..by using the threshold values the output image is in the form of binary..but i need a gray scale image as a out put..is there any techniques to display the pixels between two gray level values...for example,i want to isolate the pixels between the intensity value 100-220..i need a technique ,to mask the remaining pixels( other than 100-200)..