MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Image[] needs the option ColorFunction, any good workaround?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131497] Image[] needs the option ColorFunction, any good workaround?
  • From: sibir <martin.rommel at gmail.com>
  • Date: Sat, 10 Aug 2013 04:39:34 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

ArrayPlot and also Image3D have an option ColorFunction. For Image there is no such option, for scalar data "GrayScale" is all there is.

Now one can ImageApply Hue like

ImageApply[List @@ ToColor[Hue[#], RGBColor]&, Image[data]]

but how to use other Gradient Color Schemes like "Rainbow" or "TemperatureMap"?

I am working with large dataset, so ArrayPlot is not an option (too slow and memory inefficient).




  • Prev by Date: Re: absolute, definite vector length
  • Next by Date: Re: needs the option ColorFunction, any good workaround?
  • Previous by thread: Re: Help with fitting
  • Next by thread: Re: needs the option ColorFunction, any good workaround?