Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15294

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

From sibir <martin.rommel@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Image[] needs the option ColorFunction, any good workaround?
Date 2013-08-10 08:37 +0000
Message-ID <ku4u4o$n58$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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).

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Image[] needs the option ColorFunction, any good workaround? sibir <martin.rommel@gmail.com> - 2013-08-10 08:37 +0000

csiph-web