150 likes | 239 Views
Image Modeling - continued. Given observed feature statistics { H (a) obs }, we associate an energy with any image I as Then the corresponding Gibbs distribution is The q ( I ) can be sampled using a Gibbs sampler or other Markov chain Monte-Carlo algorithms. Image Modeling - continued.
E N D
Image Modeling - continued • Given observed feature statistics {H(a)obs}, we associate an energy with any image I as • Then the corresponding Gibbs distribution is • The q(I) can be sampled using a Gibbs sampler or other Markov chain Monte-Carlo algorithms
Image Modeling - continued Image Synthesis Algorithm • Compute {Hobs} from an observed texture image • Initialize Isyn as any image, and T as T0 • Repeat Randomly pick a pixel v in Isyn Calculate the conditional probability q(Isyn(v)| Isyn(-v)) Choose new Isyn(v) under q(Isyn(v)| Isyn(-v)) Reduce T gradually • Until E(I) < e
A Texture Synthesis Example Observed image Initial synthesized image
Temperature Image patch Energy Conditional probability A Texture Synthesis Example • Energy and conditional probability of the marked pixel
Average spectral histogram error A Texture Synthesis Example - continued • A white noise image was transformed to a perceptually similar texture by matching the spectral histogram
A Texture Synthesis Example - continued • Synthesized images from different initial conditions
Observed image Synthesized image Texture Synthesis Examples - continued • A random texture image
Texture Synthesis Examples - continued • An image with periodic structures Observed image Synthesized image
Texture Synthesis Examples - continued • A mud image with some animal foot prints Mud image Synthesized image
Texture Synthesis Examples - continued • A random texture image with elements Observed image Synthesized image
Texture Synthesis Examples - continued • An image consisting of two regions • Note that wrap-around boundary conditions were used Observed image Synthesized image
Synthesized image Original cheetah skin patch Texture Synthesis Examples - continued • A cheetah skin image
Texture Synthesis Examples - continued • An image consisting of circles Observed image Synthesized image
Texture Synthesis Examples - continued • An image consisting of crosses Observed image Synthesized image
Observed image Synthesized image Texture Synthesis Examples - continued • A pattern with long-range structures