uwsampa/hfbs

Name: hfbs

Owner: Sampa

Description: a hardware-friendly bilateral solver

Created: 2017-10-06 19:47:26.0

Updated: 2018-03-13 03:39:17.0

Pushed: 2017-12-08 20:54:07.0

Homepage: null

Size: 4073

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

HFBS: hardware-friendly bilateral solver

The hardware-friendly bilateral solver (HFBS) is a parallel algorithm for bilateral solving. This repo has Python software reference and Verilog hardware implementations for experimentation. The Verilog implementation comes with scaffolding for deployment on a Xilinx Zynq ZC702 dev board. The software code is an unoptimized version of the implementation described in the paper, so runtimes are worse than those reported in the paper.

You can read more about HFBS in the HPG 2017 paper or the summary blog post.

Getting Started

HFBS uses Python 2.7 with numpy, matplotlib, and scipy.

You can test the software reference by running

on hfbs.py

which will run HFBS with the input data from the data/depth_superres folder.

Building and running the FPGA design

(unstable, under construction)

To build the hardware project, open it in Vivado and compile.

Program the FPGA and set up the driver.

Once the FPGA is programmed and ready, you can invoke the bilateral solver from the software reference.

on hfbs_fpga.py

which should display the input and processed output.

License

This project is licensed under the MIT License - see the LICENSE.md file for details


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.