-
Category : 2D Graphic
Tags :
- Update : 2012-11-26
- Size : 1.69mb
- Downloaded :0次
- Author :m*****
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
CS7495 Final Project
Sooraj Bhat
Object Removal by Exemplar-based Inpainting
USING THE CODE
Everything was done in Matlab and MEX (i.e. a C function callable from
Matlab). First, the C code needs to be compiled. At the Matlab
prompt, type:
mex bestexemplarhelper.c
You should then be able to run the following (which takes ~2mins on my
2GHz Pentium 4 laptop with 256MB of RAM):
[i1,i2,i3,c,d,mov] = inpaint( bungee0.png , bungee1.png ,[0 255 0])
A smaller run (~25 seconds) would be:
[i1,i2,i3,c,d,mov] = inpaint( bw0.png , bw2.png ,[0 255 0])
To visualize:
plotall
close movie(mov)
SAMPLE IMAGES & RESULTS
*0.png The original images ( bw and bungee )
*{1,2}.png The different fill region masks.
*P2.png Plots of confidence and data terms.
*P5.png Plots of original, fill region, inpainted images and
confidence and data terms.
Other images in the dir contain redundant information. I di
Packet file list
(Preview for download)
inpainting
..........\bestexemplarhelper.c
..........\bungee0.png
..........\bungee1.png
..........\bungeeA.png
..........\bungeeP2.png
..........\bungeeP5.png
..........\bw0.png
..........\bw1.png
..........\bw2.png
..........\bwA.png
..........\bwP2.png
..........\bwP5.png
..........\index.html
..........\inpaint.m
..........\isophote.png
..........\plotall.m
..........\README.txt
..........\slide.html
..........\slide.png
..........\slide.ppt
..........\slidesmall.png
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information