POV-Ray : Newsgroups : povray.newusers : How to Add random Noise to the generated Image(Sequence)? : Re: How to Add random Noise to the generated Image(Sequence)? Server Time
29 Jul 2024 12:17:41 EDT (-0400)
  Re: How to Add random Noise to the generated Image(Sequence)?  
From: Chris B
Date: 18 Dec 2005 07:25:34
Message: <43a5553e$1@news.povray.org>
"jiangzhijun" <jia### [at] lmarswhueducn> wrote in message 
news:web.43a454467bd31b98f30002e90@news.povray.org...
> Hello Everyone!
>   I am a new beginner pursuing on the "Structure From Motion (SFM)"
> problem,and now I'd like to use POV to generate such image sequence with
> certain kind of random noise to my images(ie. with uniform or normal
> distribution)( meant not to deform the shape sharply, but to disturb the
> quality of the images temporaly,as you mean that),so how can we do that in
> the powerful POV,then?Thanks a lot!
>
>

I'm not sure what sort of distortion you want. Two options spring to mind
1. You can put a speckled translucent plane just in front of the camera.
2. You can add a normal to the camera
Here's an example doing both at once:

Regards,
Chris B.

camera {location <0,0.5,-2> look_at <0,0.5,0> normal {granite 0.005 scale 
0.01}}
light_source { < -150, 1000  ,-800> color rgb 1}

plane {-z,1.9
  pigment {
    agate
    color_map {
      [0    color rgbt <1,1,1,1>]
      [0.99 color rgbt <1,1,1,1>]
      [0.99 color rgb  <1,0,1>]
      [1    color rgb  <1,0,1>]
    }
    scale 0.00001
  }
}

background {color rgb <0.8,0.8,1>}
sphere {<0,0.5,0>,0.5 pigment {color rgb <1,0,0>}}
plane {y, 0 texture {pigment {checker}}}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.