Port of permutohedral bilateral filtering to tensorflow as an op.
History of this permutohedral code:
The mxnet port of the permutohedral lattice plays better with Tensorflow than Caffe ports (e.g. https://github.com/torrvision/crfasrnn) because the mxnet port was updated to CUDA streams.
Currently only the GPU version is supported.
You will need to build Tensorflow from source; will get linker errors if you try to use the pip version of Tensorflow.
To build, just type "make". It uses a similar Makefile as Caffe.
When you build it, try running some tests, like "test/test_segment.py" or "test/test_slider_window.py".
This is ONLY supposed to do permutohedral lattice bilateral filtering, which is useful as a main part of the CRF-RNN algorithm.
inputs:
The images will be filtered with a (2+channels)-dimensional filter.