Take the perspective from the RGB color space, and what you know is that all three values must be the same. If any value - red, green, or blue - is lower or higher than the rest, the resulting color is not a form of gray.
This is far simpler in HSL, HSV, or any color space with saturation (S) as one of its dimensions; simply lower the saturation to zero, since saturation is literally defined as the intensity of color.
In Photoshop, manipulating the saturation value is quite simple. What you *could* do is enter the Image menu, enter the Mode sub-menu, and select Grayscale. However, a better solution is to create a layer above every other layer, fill it with a form of gray (anything from black to white), and change the Layer blending mode to "saturation". This doesn't actually remove or modify any of the colors of the layers beneath it, but rather, affects their visual output as long as the layer is present. You can even toggle the layer's visibility on and off while you work on the layers beneath it, so you can see both colored and grayscale outputs.
Another note: the saturation layer is also mutable, so using transparency (preferred) or different saturations within it allows you to vary the saturation of the image in different degrees and gradients.
Edit: if you aren't working in Photoshop, but rather, you're trying to create your own color or image manipulation program, you'll likely need to implement several traditional spaces, including RGB and HSL. The conversion formulas are all available on the internet, and strict adherence to those formulas is the only way to really guarantee your users' satisfaction. Fortunately, once you've established these color spaces, making an image grayscale is as easy as converting the color to HSL, dropping the saturation to 0, and converting it back.
There are several programs that you can use to convert a color image to grayscale. I recommend that you NOT convert it to pure "black and white" or "bi-tonal", because color images converted to B&W generally look terrible.
Probably bacause another image is in Grayscale Mode. Image you try to drag and drop must much Color Mode of another image so it is converted on the fly to Grayscale (Black and White). To change Color Mode go to Image > Mode > choose RGB.
Convert document to Indexed Color mode. Then go to Image > Mode > Color Table. You can convert only RGB and Grayscale images in Indexed Color mode. When converting from Grayscale conversion is automatic, when converting from RGB dialog box appear where You can choose Custom and create custom color palette. To change a single color, click the color and choose a new color in the Color Picker. To assign transparency to a color, select the Eyedropper tool in the Color Table dialog box, and click the color in the table or in the image. The sampled color is replaced with transparency in the image. You can also save color palette on disc for later use or load existing from Color Table dialog (Save and Load buttons).
Probably because you work in Grayscale mode. Go to Image > Mode and click RGB Color.
Binary images, Indexed images, Grayscale images, True color images
RGB, CMYK, Grayscale, Lab, Indexed color are color modes in Photoshop. What you want to ask? Why we use color modes? To manage colors in image based on image purpose.
This is because edge detection tries to find out significant transitions in luminosity/brightness in an image. Therefore grayscale images are used, since in grayscale the brightness of an image is modeled. You can of course use other characteristics of a pixel (like the red color) if the scene is illuminated in red or if the edges to be detected belong to objects that reflect the red color specter most.
grayscale
The easiest way to print a color photo in black and white only is to use a black ink only laser printer. The printer will convert the color information into grayscale on the fly. For a more difficult task of using a color printer, use Adobe Acrobat to convert to grayscale before printing. The final piece will be printed in CMYK but will look black and white.
grayscale,there are only 1 channel
ctrl+shift+Uor cmd+shift+U (on mac) This makes anything inside the layer you have selected, black and white, grayscale. But there is a difference of a grayscale color mode and grayscale layer contents. Grayscale sellected from mode window, refers to the whole document. It is different than having only a layer or two in B&W and everything else in color. To switch to grayscale or any other color mode you can go to image/mode/*Grayscale (RGB, CMYK...etc)
Types of images are: 1.Compressed image 2.RGB image (True Color Image & has 3 pixels ) 3.RGBA image (True Color Image & has 4 pixel or more ) 4.Grayscale image (Black & White) 5.Palette image (16 colors per pixel ) All i want is to " Like" ! Thanks !