Question on displaying color photo as Greyscale in EBImage
1
0
Entering edit mode
@evan-misshula-4398
Last seen 10.3 years ago
Hi, If I change the colormode to greyscale in an Image does it behave the same way as the chanel function (uniformly adding the RGB with equal weights). Or does it do something more sophisticated with gamma corrections or weights based on the image format? I could not find it in the reference manual. Thank you, Evan Misshula
• 728 views
ADD COMMENT
0
Entering edit mode
Gregoire Pau ▴ 310
@gregoire-pau-3274
Last seen 10.3 years ago
Hello Evan, As mentionned in the EBImage vignette, colorMode() changes the image representation mode but not the image itself. On the contrary, channel() modifies the image. This is documented in ?colorMode. Try: example(colorMode) and example(channel) Hope this helps, Cheers, Greg --- Gregoire Pau EMBL Research officer http://www.embl.de/~gpau/ On 22/12/2010 18:16, Evan Misshula wrote: > Hi, > If I change the colormode to greyscale in an Image does it behave the same way as the chanel function (uniformly adding the RGB with equal weights). Or does it do something more sophisticated with gamma corrections or weights based on the image format? I could not find it in the reference manual. > > Thank you, > > Evan Misshula > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 342 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6