Fast Bilateral Filter implementation for OpenCV
Algorithm and implementation is based on http://people.csail.mit.edu/sparis/bf/ Please cite above paper for research purpose.
#include <iostream>
#include "fastBilateral.hpp"
Fast Bilateral Filter implementation for OpenCV
Algorithm and implementation is based on http://people.csail.mit.edu/sparis/bf/ Please cite above paper for research purpose.
#include <iostream>
#include "fastBilateral.hpp"
.container { | |
width: 960px !important; | |
} | |
@media (min-width: 1px) { | |
.container { | |
max-width: 940px; | |
} | |
.col-lg-1, | |
.col-lg-2, |
#include <thread> | |
#include <iostream> | |
#include <queue> | |
std::mutex mx; | |
std::condition_variable cv; | |
std::queue<int> q; | |
bool finished = false; |
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
/** | |
* $.unserialize | |
* | |
* Takes a string in format "param1=value1¶m2=value2" and returns an object { param1: 'value1', param2: 'value2' }. If the "param1" ends with "[]" the param is treated as an array. | |
* | |
* Example: | |
* | |
* Input: param1=value1¶m2=value2 | |
* Return: { param1 : value1, param2: value2 } | |
* |
CC = g++ | |
CFLAGS = -g -Wall | |
SRCS = HelloWorld.cpp | |
PROG = HelloWorld | |
OPENCV = `pkg-config opencv --cflags --libs` | |
LIBS = $(OPENCV) | |
$(PROG):$(SRCS) | |
$(CC) $(CFLAGS) -o $(PROG) $(SRCS) $(LIBS) |
// creates basic object structure, wraps routines together - can be compared to OOP class definition | |
var imageEffects = function () {} | |
imageEffects.prototype.loadImage = function (url, callback) { | |
var request = new XMLHttpRequest(); | |
request.open('GET', url, true); | |
request.onreadystatechange = function () { | |
// Makes sure the document is ready to parse. | |
var result = false; | |
if (request.readyState == 4) { |
server | |
{ | |
listen 80; | |
server_name website.loc www.website.loc; | |
access_log /var/log/nginx/website.access_log; | |
error_log /var/log/nginx/website.error_log; | |
root /var/www/website.loc/web/; | |
index index.php; |
#Quick cp from http://sekati.com/etc/install-nodejs-on-debian-squeeze | |
# | |
#Needed to install TileMill from MapBox | |
# | |
#Installs node.js which has npm bundled | |
# | |
#Build Dependencies | |
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev |