Description Usage Arguments Value References Examples
Produces plots of image data, posterior boundary estimates,
and 95
1 | plotBD(fitted.image, plot.type)
|
fitted.image |
An object containing the |
plot.type |
takes values 1, 2 or 3: |
There is no output to console; plotBD produces plots.
Li, M. and Ghosal, S.(2015) "Bayesian Detection of Image Boundaries." arXiv 1508.05847.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
set.seed(12345)
gamma.fun = ellipse(a = 0.35, b = 0.25)
bin.obs = par2obs(m = 100, pi.in = 0.5, pi.out = 0.2,
design = 'J', center = c(0.5,0.5), gamma.fun)
bin.fit = fitBinImage(image = bin.obs, nrun=1000, nburn=1000,
J=10, ordering='I', slice = FALSE, outputAll=FALSE)
par(mfrow = c(1,3))
plotBD(bin.fit, 1)
plotBD(bin.fit, 2)
plotBD(bin.fit, 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.