일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 리눅스
- CV
- 백준
- 회귀
- c
- 공부
- 알고리즘
- 학습
- 프로그래밍
- Windows 10
- linux
- 턱걸이
- OpenCV
- 프로세스
- 백준알고리즘
- 코딩
- Windows10
- C언어
- 딥러닝
- python
- error
- TensorFlow
- C++
- 영상처리
- 텐서플로우
- shell
- 쉘
- Computer Vision
- 운영체제
- 시스템프로그래밍
- Today
- Total
목록전체 글 (161)
줘이리의 인생적기

https://code.visualstudio.com/download Download Visual Studio Code - Mac, Linux, Windows Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications. code.visualstudio.com https://sourceforge.net/projects/mingw-w64/files/min..

sort 알고리즘은 오름차순, 내림차순, 사용자가 정의한 순서로 정렬해주는 알고리즘. default는 오름차순, 평균 시간복잡도는 퀵 정렬 기반이라 n*logn. sort 알고리즘은 헤더파일 안에 있음 #include 을 추가해야 한다. 원형 #array sort(array, array+n);//default 오름차순 sort(array, array+n, 함수); #vector sort(vector.begin(), vector.end()); // default 오름차순 sort(vector.begin(), vector.end(), less()); //오름차순 sort(vector.begin(), vector.end(), greater()); //내림차순 sort(vector.begin(), vector...

문제 바로가기(출처) : https://www.acmicpc.net/problem/11399 11399번: ATM 첫째 줄에 사람의 수 N(1 ≤ N ≤ 1,000)이 주어진다. 둘째 줄에는 각 사람이 돈을 인출하는데 걸리는 시간 Pi가 주어진다. (1 ≤ Pi ≤ 1,000) www.acmicpc.net 설명 백준 11399번 간단한 그리디 알고리즘 문제입니다. 정렬 후 대기시간만큼의 합을 구하는 문제입니다. 저는 대기시간 반복수만큼 (n-i)를 추가하였습니다 코드 #include #include using namespace std; const int MAX = 1000; int n, i; int p[MAX]; int main(void){ cin >> n; for(int i =0; i> p[i]; } ..

Hough Transform에 대해 알아보겠습니다. hough transform은 영상에서 직선을 검출하는 방법 중 하나입니다. (설명필요) Hough Transform 코드 원형 설명 def houghLinesP(image, rho=1.0, theta=np.pi/180, threshold=100, minLineLength=10, maxLineGap=100): return cv2.HoughLinesP(image, rho, theta, threshold, minLineLength=minLineLength, maxLineGap=maxLineGap) def drawHoughLinesP(image, lines): result = imageCopy(image) if len(image.shape) == 2: res..

Geometric Transform에 대해 알아보겠습니다. Spatial Transform -Scaling -Rotation -Translation -Skew Affine Transform -Linear tranform -이동, 회전, 스케일 및 이들의 조합에 의한 변환 (설명 필요) Warping -Nonlinear transform (설명 필요) 1번 이미지 잘라서 붙여넣기 2번 이미지 이동 3번 이미지 회전, 확대, 축소 4번 Affine transform 코드 원형 설명 def imageResize(image, dsize=None, fx=0.0, fy=0.0, interpolation=cv2.INTER_LINEAR): if dsize is None and fx == 0.0 and fy == 0.0..

Morphology에 대해 알아보겠습니다. 객체 외곽선을 부드럽게 하거나, 구멍을 메꾸거나, 작은 점을 지우는 기능. 이진 영상, 회색조 영상에도 수행 가능. 기본 Morphology 연산 -Dilation(팽창) : 각 픽셀의 structuring element를 적용하여 or연산 수행, 겹치면 형태 확장 -Erosion(침식) : 각 픽셀의 structuring element를 적용하여 and연산 수행, 겹치지 않으면 형태 축소 활용 Morphology 연산 -Opening : Erosion 후 Dilation 적용 (작은 돌기, 노이즈 제거) -Closing : Dilation 후 Erosion 적용 (전체적인 윤곽 파악) -Gradient : Dilation 이미지에서 Eriosion 이미지 빼는..
Canny Edge에 대해 알아보겠습니다. -1986년 제안된 알고리즘 -모든 경계선 검출 가능 -경계선 위치 정확히 측정 가능 -구현순서 : 가우시안필터로 노이즈 제거 -> sobel mask를 통한 경계선 검출 -> Non maximum suppression -> Double thresholding Canny Edge threshold1은 약한 경계선에 대한 값 threshold2는 강한 경게선에 대한 값 코드 원형 설명 def cannyEdge(image, threshold1=100, threshold2=200): return cv2.Canny(image, threshold1, threshold2) 코드 설명 더보기 from OpenCV_Functions import * def nothing(x):..

경계선 검출은 영상의 밝기가 낮은 값에서 높은 값으로, 또는 반대로 변하는 지점을 검출하는 과정이다. 객체의 경계를 검출함으로써 모양(shape), 방향(direction)을 탐지할 수 있다. 첫 번째로 1차 미분(prewitt, sobel, scharr) 방법을 통해 명암, 밝기 변화율을 검출한 후, 2차 미분(Laplacian) 방법을 이용하여 더욱 민감하게 검출한다. prewitt 연산자 - 수평이나 수직 경계선에 민감 sobel 연산자 - 대각선 경계선에 민감 scharr 연산자 - sobel 보다 민감 Laplacian 연산자 - 모든 방향의 경계선을 강조 참고 사이트 : https://iskim3068.tistory.com/49 윤곽선 검출(Edge Detection) 에지 디텍션 영상에서 윤..