Re: how to write an ImageEffect filter?
- To: mathgroup at smc.vnet.net
- Subject: [mg106499] Re: how to write an ImageEffect filter?
- From: dh <dh at metrohm.com>
- Date: Thu, 14 Jan 2010 05:51:31 -0500 (EST)
- References: <hik90v$6nc$1@smc.vnet.net>
Hi, a low level solution is to extract the actual picture data from the image, modify it and write it back. Here is a simple example where we change the gray value: t = Image[RandomReal[1, {8, 12, 3}]] t[[1]] = 0.5 t[[1]]; t Each pixel consist of 3 color values. Daniel sibir wrote: > The function ImageEffect allows to add noise to an image, however the > options are very limited: only uniform, Gaussian and salt&pepper. I > need to add Poisson noise. it should be straitforward to to create > that filter by modifying the Gaussian, but I am not bale to find any > documentation. > > Anybody out there with a clue? >