I have worked in this conversion, but I am not getting from gray to rgb, so please can anybody suggest how to covert rgbtogray and graytorgb conversion in color images using matlab?
original = imread('koala.jpg'); %read in original RGB image
gray = rgb2gray(original); %convert to grayscale
imwrite(gray,'gray.jpg'); %write to new image
backtorgb = cat(3,gray,gray,gray); %convert to RGB format without color
imwrite(backtorgb,'backtorgb.jpg'); %write to new image
Hello Jeffrey,
Thank You Very much
Try doing this
gray = rgb2gray(original,[]); // to avoid any saturation issues
Hello Everyone, do you have any knowledge on Perception? Can you please provide the details regarding this? I am actually working with color image processing and am unable to get the perception of...
08 September 2014 6,428 6 View
If you have any idea about Sub Pixel classification using fusion with contextual information obtained from a high-spatial resolution (panchromatic or color) image.
08 September 2014 3,508 0 View
Chrominance Means and at the same how should we extract chrominance values from an image by using Matlab. If any one have any idea. So please suggest for me regarding this and I will be very thank...
06 July 2014 7,361 4 View
While working for super resolution of satellite images, is it possible to work with CIELAB Color Space is useful for Super Resolution Mapping? If you have any ideas please help me regarding this...
06 July 2014 9,528 2 View
Target green Marketing and ecological planning characteristics with GIS
04 May 2014 2,361 1 View
Please help me to work with computational science for satellite image analysis at mixed pixels, as I struck this problem.
04 May 2014 9,212 2 View
I am working with mixed pixel classification, so I am little bit confused in these two methods. So please any can give me the difference between these two
03 April 2014 3,760 1 View
I would like to learn more about SPSS and Its application especially in regards to data analysis. Please suggest me how I can learn more about it. Thank you so much.
11 August 2024 9,101 4 View
I have reverse sequences (AB1 format), can I base on reverse DNA sequences to perform nucleotide alignment, convert nucleotides to amino acids and deposit the sequence in GenBank database?
11 August 2024 5,138 1 View
Hello, Why do i see this baseline drift when i compare my blank (black) to the sample (blue)? Any suggestions as to why this happened? Thank you!
11 August 2024 3,770 4 View
Willett, Shenoy et al. (2021) have developed a brain computer interface (BCI) that used neural signal collected from the hand area of the motor cortex (area M1) of a paralyzed patient. The...
10 August 2024 7,180 0 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
How can I use the cif data obtained from rietveld refinement extracted via gsas2, for microstructural analysis using ETEX software?
09 August 2024 7,718 0 View
Let's say we have a standard, regular hexagonal honeycomb with a 3-arm primitive unit cell (something like the figure attached; the figure is only representative and not drawn to scale). The...
07 August 2024 1,937 1 View
A fungal strain was treated with nanoparticles. We want to do an environmental SEM analysis. So could anyone share your views on preparing the sample? Thank you.
07 August 2024 5,307 1 View
I would like to understand potential safety concerns while handling SEB in the lab. Especially while working in animal house facility. Would like to know precautions for handling. Sigma MSDS...
07 August 2024 6,034 3 View
Hi, I have a question about normalizing the MTT OD values for doing the statistical analysis. So, if we have 3 different plates and we call them 3 different replicates, so, first we would...
07 August 2024 8,106 4 View