|
[Date Index]
[Thread Index]
[Author Index]
Re: image opacity/image overlaying?
- To: mathgroup at smc.vnet.net
- Subject: [mg80165] Re: image opacity/image overlaying?
- From: "Mariusz Jankowski" <mjankowski at usm.maine.edu>
- Date: Tue, 14 Aug 2007 06:58:42 -0400 (EDT)
- Organization: University of Southern Maine
- References: <f9p5ut$rm2$1@smc.vnet.net>
This doesn't use ArrayPlot, but works for 2D image arrays. Given two images,
for example,
img1 = Import[
"http://www.ee.usm.maine.edu/courses/ele489/data/cameraman.tif" ] ;
img2 = Import[
"http://www.ee.usm.maine.edu/courses/ele489/data/face.tif" ] ;
then this gives the desired result
Show[{img1, Graphics[{Opacity[0.5], img2[[1]]}] }]
Bye, Mariusz
>>> On 8/13/2007 at 4:49 AM, in message <f9p5ut$rm2$1 at smc.vnet.net>,
AV<akvelu at gmail.com> wrote:
> Is there a way of overlaying a partially transparent 2D image array on
> another 2D image array using ArrayPlot or ListDensityPlot? I am
> currently using a workaround by making an array of transparent points
> and showing this on top of a ListDensityPlot graphics but I wanted to
> check if there was a better way since this is very slow.
>
> AV
Prev by Date:
Re: Intensive numerical calculations
Next by Date:
Question about memory consumption in my codes by using Mathematica 6, Thanks!
Previous by thread:
image opacity/image overlaying?
Next by thread:
Re: Re: image opacity/image overlaying?
|