일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 빅 데이타
- node.js
- 인공지능
- nodeJS
- 통계
- Deep learning
- 몽고디비
- data science
- Statistics
- 주일설교
- 김양재 목사님
- 김양재
- 빅데이터
- MongoDB
- 확률
- 빅 데이터
- WebGL
- 데이터 과학
- 우리들교회
- Machine Learning
- 딥러닝
- c++
- R
- openCV
- 빅데이타
- Artificial Intelligence
- probability
- Big Data
- 김양재 목사
- No SQL
- Today
- Total
목록Blur (4)
Scientific Computing & Data Science
이번 예제는 Blur Shader 구현에 관한 것입니다. 본 포스팅에 삽입한 Shader Code는 zz85에게 저작권이 있음을 알려둡니다: Visit zz85's Web Page.Download Project Click here to view with full screen mode OperationsMouse Left Button Click & Drag: Camera RotatingMouse Wheel: Camera Zoom In & OutMouse Right Button Click & Drag: Camera Panningmain.js12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152..
[Theory]wheref(i+k, j+l) : source imageh(k, l) : kernelg(i, j) : filtered image [File Types]Box FilterGaussian FilterMedian FilterBilateral Filter : refer to this link [Source Code]#include "stdafx.h" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" using namespace std; using namespace cv; // Global Variables int DELAY_CAPTION = 1500; int DELAY_BLUR = 100; int MAX_KE..
MATLAB CODE: "Gaussian.m"function Gaussian %% read an image img = imread('./res/test_02.jpg'); img = rgb2gray(img); subplot(2,1,1); imshow(img); mask = [1/16 1/8 1/16 ; 1/8 1/4 1/8 ; 1/16 1/8 1/16]; [rSize, cSize] = size(mask); [nrow, ncol] = size(img); img = cast(img, 'double'); newImg = zeros(nrow,ncol); % Corners subMask = mask(2:3,2:3); i = 1; j = 1; subMat = img(i:i+1,j:j+1); newImg(i,j) = ..
MATLAB CODE: "Blurring.m"function Blurring %% read an image img = imread('./res/test_01.jpg'); img = rgb2gray(img); subplot(2,1,1); imshow(img); mask = (1/9)*ones(3,3); [rSize, cSize] = size(mask); [nrow, ncol] = size(img); img = cast(img, 'double'); newImg = zeros(nrow,ncol); % Corners subMask = mask(2:3,2:3); i = 1; j = 1; subMat = img(i:i+1,j:j+1); newImg(i,j) = sum(sum(subMask.*subMat)); sub..