improc is an image processing tool for :
blkptcs(images <---> blocks, images -->patches) : spliting image into blocks, sampling patches from images, show blocks or patches, selecting patches or blocks(stdorvar), fight image blocks back to images and so on.encoding: huffman encoding and decodingevaluation: functions of assessmentutils: utility functions --> prep-rocessing(scale, normalization/denormalization)
you can install it by:
pip install -r requirements.txt
python setup.py sdist
sudo python setup.py install --record files.txtor you can add it's path into PYTHONPATH environment:
export PYTHONPATH=/mnt/d/library/zhi/improc:$PYTHONPATHuse the following commands to uninstall it:
pip uninstall improc
# or
cat files.txt | xargs rm -rfor you can just remove the environment that you added:
export PYTHONPATH=/mnt/d/library/zhi/improc:$PYTHONPATHimport improc as imp
imp.__version__ # print the version of the tool
?imp.imgs2blks # see help information of imgs2blksYou can see the test and examples folders for more demos.
Email: zhiliu.mind@gmail.com