[BioC] Question on displaying color photo as Greyscale in EBImage
Gregoire Pau
gregoire.pau at embl.de
Thu Dec 23 11:44:04 CET 2010
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
More information about the Bioconductor
mailing list