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"
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| import argparse | |
| from html.parser import HTMLParser | |
| import urllib.request, time | |
| from pathlib import Path | |
| class PDFFileListParser(HTMLParser, object): | |
| def __init__(self, *argv, **kwargs): |
| ## empty |
| #include <random> | |
| #include <ros/ros.h> | |
| #include <Eigen/Geometry> | |
| #include <tf_conversions/tf_eigen.h> | |
| int main(int argc, char* argv[]) { |
| #!/bin/env python | |
| import numpy as np | |
| import scipy.misc | |
| from scipy.fftpack import dct, idct | |
| import sys | |
| H = 128 | |
| W = 128 | |
| lenna = scipy.misc.imresize(scipy.misc.lena(), (H, W)).astype(float) |
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"
| #import <UIKit/UIKit.h> | |
| @interface UIImageView (CircleMask) | |
| - (void)circleMask; | |
| - (void)circleMaskBorderWitdh:(CGFloat)width color:(CGColorRef)color; | |
| @end |
| - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
| { | |
| // vc1をrootにしてUINavigationControllerの初期化 | |
| UIViewController *vc1 = [[UIViewController alloc] init]; | |
| UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:vc1]; | |
| // vc2で切り替える | |
| UIViewController *vc2 = [[UIViewController alloc] init]; | |
| [nc setViewControllers:@[vc2]]; |