def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2013/16/nl-bayes_20130617.zip' tools.download_and_extract(download_file) # getting example images subprocess.call('make OMP=1', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2013/16/nl-bayes_20130617.zip' tools.download_and_extract(download_file) # getting example images subprocess.call('make OMP=1', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2011/ys-dct/src_demoDCTdenoising.tar.gz' tools.download_and_extract(download_file) # getting example images subprocess.call('make OMP=1', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2011/bcm_nlm/nlmeansC.tar.gz' tools.download_and_extract(download_file) # getting example images this_file_path = os.path.dirname(__file__) subprocess.call('make', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code for the inpainting implementation""" download_file = 'http://www.ipol.im/pub/art/2015/136/inpaint_8.tgz' tools.download_and_extract(download_file) this_file_path = os.path.dirname(__file__) subprocess.call(' mkdir build; cd build; cmake ..; make', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2011/bcm_nlm/nlmeansC.tar.gz' tools.download_and_extract(download_file) # getting example images this_file_path=os.path.dirname(__file__) subprocess.call('make', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2011/ys-dct/src_demoDCTdenoising.tar.gz' tools.download_and_extract(download_file) # getting example images subprocess.call('make OMP=1', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2013/16/nl-bayes_20130617.zip' tools.download_and_extract(download_file) # getting example images tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cinput.jpg',os.path.join(exec_folder,'cinput.jpg')) tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cnoisy.jpg',os.path.join(exec_folder,'cnoisy.jpg')) subprocess.call('make OMP=1', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2011/ys-dct/src_demoDCTdenoising.tar.gz' tools.download_and_extract(download_file) # getting example images tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cinput.jpg', os.path.join(exec_folder, 'cinput.jpg')) tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cnoisy.jpg', os.path.join(exec_folder, 'cnoisy.jpg')) subprocess.call('make OMP=1', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2012/g-ace/ace_20121029.tar.gz' tools.download_and_extract(download_file) if platform.system()=="Windows": tools.download_and_extract('ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5-dll32.zip') path=os.path.dirname(__file__) #replacing the makefile.gcc file copy(os.path.join(path,'patch','makefile.gcc'), os.path.join(exec_folder,'makefile.gcc')) subprocess.call('make CC=gcc -f makefile.gcc', shell=True,cwd=exec_folder) else: subprocess.call('make -f makefile.gcc', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compiles the code""" # downloading and extraction the zip file download_file='http://www.ipol.im/pub/art/2014/78/stereo-guided-filter_1.0.tar.gz' # todo: put the right zip file url tools.download_and_extract(download_file) # getting example images # if there are no eample images in the zip file we can get some exemple images from the demo page # tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cinput.jpg',os.path.join(exec_folder,'cinput.jpg')) # tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cnoisy.jpg',os.path.join(exec_folder,'cnoisy.jpg')) subprocess.call('mkdir Build && cd Build;cmake -D CMAKE_BUILD_TYPE:string=Release ..;make', shell=True,cwd=source_directory)
def _install(): """this function downloads and compiles the code""" # downloading and extraction the zip file download_file='http://www.ipol.im/pub/art/2012/g-ace/ace_20121029.tar.gz' # todo: put the right zip file url tools.download_and_extract(download_file) # getting example images # if there are no eample images in the zip file we can get some exemple images from the demo page # tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cinput.jpg',os.path.join(exec_folder,'cinput.jpg')) # tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cnoisy.jpg',os.path.join(exec_folder,'cnoisy.jpg')) subprocess.call('make -f makefile.gcc', shell=True,cwd=source_directory)
def _install(): """this function downloads and compiles the code""" # downloading and extraction the zip file download_file = 'http://www.ipol.im/pub/art/2014/78/stereo-guided-filter_1.0.tar.gz' # todo: put the right zip file url tools.download_and_extract(download_file) # getting example images # if there are no eample images in the zip file we can get some exemple images from the demo page # tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cinput.jpg',os.path.join(exec_folder,'cinput.jpg')) # tools.urlretrieve('http://www.ipol.im/pub/art/2011/bcm_nlm/cnoisy.jpg',os.path.join(exec_folder,'cnoisy.jpg')) subprocess.call( 'mkdir Build && cd Build;cmake -D CMAKE_BUILD_TYPE:string=Release ..;make', shell=True, cwd=source_directory)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2012/g-cv/chanvese_20120715.tar.gz' tools.download_and_extract(download_file) this_file_path=os.path.dirname(__file__) if platform.system()=="Windows": path=os.path.dirname(__file__) #replacing the makefile.gcc file copy(os.path.join(path,'patch','makefile.gcc'), os.path.join(exec_folder,'makefile.gcc')) copy(os.path.join(path,'patch','imageio.c'), os.path.join(exec_folder,'makefile.c')) subprocess.call('make CC=gcc -f makefile.gcc', shell=True,cwd=exec_folder) else: subprocess.call('make -f makefile.gcc', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2012/g-ace/ace_20121029.tar.gz' tools.download_and_extract(download_file) if platform.system() == "Windows": tools.download_and_extract( 'ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5-dll32.zip') path = os.path.dirname(__file__) #replacing the makefile.gcc file copy(os.path.join(path, 'patch', 'makefile.gcc'), os.path.join(exec_folder, 'makefile.gcc')) subprocess.call('make CC=gcc -f makefile.gcc', shell=True, cwd=exec_folder) else: subprocess.call('make -f makefile.gcc', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2012/g-cv/chanvese_20120715.tar.gz' tools.download_and_extract(download_file) this_file_path = os.path.dirname(__file__) if platform.system() == "Windows": path = os.path.dirname(__file__) #replacing the makefile.gcc file copy(os.path.join(path, 'patch', 'makefile.gcc'), os.path.join(exec_folder, 'makefile.gcc')) copy(os.path.join(path, 'patch', 'imageio.c'), os.path.join(exec_folder, 'makefile.c')) subprocess.call('make CC=gcc -f makefile.gcc', shell=True, cwd=exec_folder) else: subprocess.call('make -f makefile.gcc', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code """ download_file='http://www.ipol.im/pub/art/2013/26/tvl1flow_3.tar.gz' tools.download_and_extract(download_file) this_file_path=os.path.dirname(__file__) subprocess.call('make', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2012/g-tvd/tvdenoise_20120516.tar.gz' tools.download_and_extract(download_file) this_file_path = os.path.dirname(__file__) subprocess.call('make -f makefile.gcc', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code """ download_file = 'http://www.ipol.im/pub/art/2013/26/tvl1flow_3.tar.gz' tools.download_and_extract(download_file) this_file_path = os.path.dirname(__file__) subprocess.call('make', shell=True, cwd=exec_folder)
def _install(): """this function downloads and compile the code for the SURF implementation""" download_file='http://www.ipol.im/pub/art/2015/69/demo_SURF_src.zip' tools.download_and_extract(download_file) subprocess.call('make OMP=1', shell=True,cwd=source_directory)
try: from setuptools import setup except ImportError: from distutils.core import setup from distutils.extension import Extension import sys sys.path.append('../..') import tools download_file = 'http://www.ipol.im/pub/art/2015/35/classic_edge_detectors_1.0.zip' tools.download_and_extract(download_file) import numpy as np sources = [ '_wrapper.pyx', '../../csources/classic_edge_detectors_1.0/classic_edge_detectors.c' ] include_dirs = [np.get_include(), '.'] if __name__ == '__main__': extensions = Extension('_wrapper', sources, extra_compile_args=['-std=c99']) from Cython.Build import cythonize libname = "lib"
try: from setuptools import setup except ImportError: from distutils.core import setup from distutils.extension import Extension import sys sys.path.append('../..') import tools download_file='http://www.ipol.im/pub/art/2015/35/classic_edge_detectors_1.0.zip' tools.download_and_extract(download_file) import numpy as np sources = ['_wrapper.pyx','../../csources/classic_edge_detectors_1.0/classic_edge_detectors.c'] include_dirs=[ np.get_include(),'.'] if __name__ == '__main__': extensions = Extension('_wrapper',sources, extra_compile_args=['-std=c99']) from Cython.Build import cythonize libname="lib"
def _install(): """this function downloads and compile the code for the tvdeconv implementation""" download_file='http://www.ipol.im/pub/art/2012/g-tvdc/tvdeconv_20120607.tar.gz' tools.download_and_extract(download_file) this_file_path=os.path.dirname(__file__) subprocess.call('make -f makefile.gcc', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the inpainting implementation""" download_file='http://www.ipol.im/pub/art/2015/136/inpaint_8.tgz' tools.download_and_extract(download_file) this_file_path=os.path.dirname(__file__) subprocess.call(' mkdir build; cd build; cmake ..; make', shell=True,cwd=exec_folder)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2011/my-asift/demo_ASIFT_src.tar.gz' tools.download_and_extract(download_file) subprocess.call('make OMP=1', shell=True,cwd=source_directory)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file = 'http://www.ipol.im/pub/art/2011/my-asift/demo_ASIFT_src.tar.gz' tools.download_and_extract(download_file) subprocess.call('make OMP=1', shell=True, cwd=source_directory)
def _install(): """this function downloads and compile the code for the SURF implementation""" download_file = 'http://www.ipol.im/pub/art/2015/69/demo_SURF_src.zip' tools.download_and_extract(download_file) subprocess.call('make OMP=1', shell=True, cwd=source_directory)
def _install(): """this function downloads and compile the code for the chanvese implementation""" download_file='http://www.ipol.im/pub/art/2012/g-ace/ace_20121029.tar.gz' tools.download_and_extract(download_file) subprocess.call('make -f makefile.gcc', shell=True,cwd=exec_folder)