Pookie
28th August 2006, 01:05
Stumbled Across this App from another post. Mods, please move this if it doesn't belong here.
Please forgive my ignorance, but I thought this app might be inspirational to some of the plugin developers out there.
Perhaps some of the source could serve as code for future Avisynth plugins.
Open BSD License Model - "We left the license quite open to any usage type. The software is available for friendly usage"
http://restoreinpaint.sourceforge.net/
I thought the upsizing algos were pretty good (warning, big)
Original (thanks, S..h ;)
http://fileserver2.jpghosting.com/images/tn_720psample0018yb_18136f96743884e7563ec73ecd1a12cd.jpg (http://fileserver2.jpghosting.com/images/720psample0018yb_18136f96743884e7563ec73ecd1a12cd.jpg)
Upresed x2
http://fileserver2.jpghosting.com/images/tn_upres-x2_1627a46e763a7d819db36415a3d452a4.png (http://fileserver2.jpghosting.com/images/upres-x2_1627a46e763a7d819db36415a3d452a4.png)
Half-resed back down to original dimensions
http://fileserver2.jpghosting.com/images/tn_2560-halfresed_89ff7af019fdbe73a2854ece59963d71.png (http://fileserver2.jpghosting.com/images/2560-halfresed_89ff7af019fdbe73a2854ece59963d71.png)
This incremental library uses new technologies. Some of them are very fast(using a large set of Linear Solvers), some are slow but with more restoration qualities(better edges,...). The technology is useful for learning purpose, explory purpose, research boosting, and application like general linear solvers, old painting restoration, image recovery for medical or every day purpose,...
MinGW with OpenGL/Glut/GLUI. Realtime restoration demo using MinGW with OpenPTC. Getting power of DirectX fast display.
* NEW FFT: DFT, recursive Radix2 FFT DIT, Radix2 and 4 FFT DIT/DIF, SplitRadix.
* NEW NonLinearSolver: Solvers, line seaches, objective function. Barzilai-Borwein(BB), Conjugate Gradients: Fletcher-Reeves CG, Polack-Ribiere CG, Dai-Yuan CG & HybridDY CG, QuasiNewton: LimitedBFGS,Newton-Raphson. Line-search:Armijo, Wolf, Secant, DennisSchnabel, nonmonotone
* LinearSolver: Steepest-Descent, Thomas, Barzilai-Borwein(BB), CBB, SSOR-BB, GMRES*(l,m)-BB, CG, SSOR-CG, GMRES*(l,m)-CG, CGi, Minres, Symmlq, CGS-LS, CG-NE, CG-NR, BiCG, CGS, Bcgstab, SSOR-Bicgstab, GMRES*(l,m)-Bicgstab, BiCgstab(2), QmrCgStab, QmrCgStab, CR, GCr(m), Gmres(m), MGCR(m), GmresR(l,m), working. Coming: QMR, Dominant Constant Tridiagonal/Toeplitz O(5N) and Pentadiagonal LDLt/LU fast solvers.
* Time based 2DSchemes: Splitted LOD, AFI, AOS, AMOS and ADI(with tests on Kim's ADI(2000) and unsplitted Backward Euler, Crank Nicolson working with linear solvers on any band matrices.
* Spatial discretisation: HeatFlow, Anisotropic and Variational restoration, TVInpainting spaces, WeberTV, TVnm, TVtrace,KimKangTV,..., developpers can build larger kernels.
* Diffusivity features: Support for Variational,Perona and Weickert diffusivity with Kim's gradient norm recalculation(2002)Central, Minslope, Minbiased, MaxSlope, MaxBiased.
* Fast Restoration: NEW Fixed Point Blomgren TVn1, Tnm, TVtrace combines all new features together = Tornado1 suitable for large time steps handling and supports limit testing at extreme conditions: large contrast and large lambda.
* NEW Fast Inpainting: combines anisotropic and variational restoration, a fast TV Inpainting supporting large timesteps is experimented and works well with all unsplitted 2D semi-implicit solvers.
* Image formats: 8bit grey and 24bit color for jpeg, bmp, TIFF. In version 1.1: PGM,PPM,PNM,PAM, including 16bit grey and 48 bit color TIFF and PGM/PPM (read/write)
* Color Space Enhancement: Gamma, Histogram equalisation. New in 1.1d: Kimmel Variational Grey/RGB/YIQ/HVC Retinex, Homomorphic filter, image to image color transfert. RGB, XYZ, YIQ, Yuv, LHS, HSV, HVC, HSI, LMS, Lab, Luv. Coming: RLab
* Restoration: more than 35 restorations using partial differential equations(explicit methods), alternative restorations Mean Shift, Barash bilateral filters, scharr coherence enhancement, Gilboa forward/backward diffusion, and complex diffusion.Planned complex shocks.
Please forgive my ignorance, but I thought this app might be inspirational to some of the plugin developers out there.
Perhaps some of the source could serve as code for future Avisynth plugins.
Open BSD License Model - "We left the license quite open to any usage type. The software is available for friendly usage"
http://restoreinpaint.sourceforge.net/
I thought the upsizing algos were pretty good (warning, big)
Original (thanks, S..h ;)
http://fileserver2.jpghosting.com/images/tn_720psample0018yb_18136f96743884e7563ec73ecd1a12cd.jpg (http://fileserver2.jpghosting.com/images/720psample0018yb_18136f96743884e7563ec73ecd1a12cd.jpg)
Upresed x2
http://fileserver2.jpghosting.com/images/tn_upres-x2_1627a46e763a7d819db36415a3d452a4.png (http://fileserver2.jpghosting.com/images/upres-x2_1627a46e763a7d819db36415a3d452a4.png)
Half-resed back down to original dimensions
http://fileserver2.jpghosting.com/images/tn_2560-halfresed_89ff7af019fdbe73a2854ece59963d71.png (http://fileserver2.jpghosting.com/images/2560-halfresed_89ff7af019fdbe73a2854ece59963d71.png)
This incremental library uses new technologies. Some of them are very fast(using a large set of Linear Solvers), some are slow but with more restoration qualities(better edges,...). The technology is useful for learning purpose, explory purpose, research boosting, and application like general linear solvers, old painting restoration, image recovery for medical or every day purpose,...
MinGW with OpenGL/Glut/GLUI. Realtime restoration demo using MinGW with OpenPTC. Getting power of DirectX fast display.
* NEW FFT: DFT, recursive Radix2 FFT DIT, Radix2 and 4 FFT DIT/DIF, SplitRadix.
* NEW NonLinearSolver: Solvers, line seaches, objective function. Barzilai-Borwein(BB), Conjugate Gradients: Fletcher-Reeves CG, Polack-Ribiere CG, Dai-Yuan CG & HybridDY CG, QuasiNewton: LimitedBFGS,Newton-Raphson. Line-search:Armijo, Wolf, Secant, DennisSchnabel, nonmonotone
* LinearSolver: Steepest-Descent, Thomas, Barzilai-Borwein(BB), CBB, SSOR-BB, GMRES*(l,m)-BB, CG, SSOR-CG, GMRES*(l,m)-CG, CGi, Minres, Symmlq, CGS-LS, CG-NE, CG-NR, BiCG, CGS, Bcgstab, SSOR-Bicgstab, GMRES*(l,m)-Bicgstab, BiCgstab(2), QmrCgStab, QmrCgStab, CR, GCr(m), Gmres(m), MGCR(m), GmresR(l,m), working. Coming: QMR, Dominant Constant Tridiagonal/Toeplitz O(5N) and Pentadiagonal LDLt/LU fast solvers.
* Time based 2DSchemes: Splitted LOD, AFI, AOS, AMOS and ADI(with tests on Kim's ADI(2000) and unsplitted Backward Euler, Crank Nicolson working with linear solvers on any band matrices.
* Spatial discretisation: HeatFlow, Anisotropic and Variational restoration, TVInpainting spaces, WeberTV, TVnm, TVtrace,KimKangTV,..., developpers can build larger kernels.
* Diffusivity features: Support for Variational,Perona and Weickert diffusivity with Kim's gradient norm recalculation(2002)Central, Minslope, Minbiased, MaxSlope, MaxBiased.
* Fast Restoration: NEW Fixed Point Blomgren TVn1, Tnm, TVtrace combines all new features together = Tornado1 suitable for large time steps handling and supports limit testing at extreme conditions: large contrast and large lambda.
* NEW Fast Inpainting: combines anisotropic and variational restoration, a fast TV Inpainting supporting large timesteps is experimented and works well with all unsplitted 2D semi-implicit solvers.
* Image formats: 8bit grey and 24bit color for jpeg, bmp, TIFF. In version 1.1: PGM,PPM,PNM,PAM, including 16bit grey and 48 bit color TIFF and PGM/PPM (read/write)
* Color Space Enhancement: Gamma, Histogram equalisation. New in 1.1d: Kimmel Variational Grey/RGB/YIQ/HVC Retinex, Homomorphic filter, image to image color transfert. RGB, XYZ, YIQ, Yuv, LHS, HSV, HVC, HSI, LMS, Lab, Luv. Coming: RLab
* Restoration: more than 35 restorations using partial differential equations(explicit methods), alternative restorations Mean Shift, Barash bilateral filters, scharr coherence enhancement, Gilboa forward/backward diffusion, and complex diffusion.Planned complex shocks.