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(std
orvar
), 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.txt
or you can add it's path into PYTHONPATH
environment:
export PYTHONPATH=/mnt/d/library/zhi/improc:$PYTHONPATH
use the following commands to uninstall it:
pip uninstall improc
# or
cat files.txt | xargs rm -rf
or you can just remove the environment that you added:
export PYTHONPATH=/mnt/d/library/zhi/improc:$PYTHONPATH
import improc as imp
imp.__version__ # print the version of the tool
?imp.imgs2blks # see help information of imgs2blks
You can see the test
and examples
folders for more demos.
Email: [email protected]