Skip to content

Relative Total Variation(a method for structure extraction from texture)

License

Notifications You must be signed in to change notification settings

guchengxi1994/RTV-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTV in Python

Relative Total Variation(a method for structure extraction from texture)

it is hard to say,but i think this method is not very impressive and efficient.

Demo

this is how RTV works in images with textures.

the corresponding MatLab codes and demo images can be found in folder "matlab code"

use rtv2.py to test.

Demo

this is the result of max_iter=4 and img-size 64*64:

Demo

this is the result of max_iter=2 and img-size 64*64:

Demo

you can test MatLab codes on https://octave-online.net/ ,it is a convenient matlab online tool. :)

quick use

pip install -r requirements.txt

python rtv2.py

About

Relative Total Variation(a method for structure extraction from texture)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published