#include struct _st { int num; char * name; }; // ARK를 인쇄하려면? ? ? f2(void) ? ? { static struct _st a[2][3] = { {1,"KIM"}, {2,"SONG"}, {3, "KI"} }, { {4, "KANG"}, {5, "PARK"}, {6, "LEW"} }}; return a; } ? ? f1(int num) ? ? { return f2()[num]; } void main() { printf("%s\n", f1(0)); } /* // a -> struct _st [2][3] -> 배열이니 [2]를 포인터로 struct _st(*f2(void))[3] { static struct _st a[2][3] = {{{ 1,"KIM" }..
#include ? ? f2(void) ? ? static int a[3][4] = { 1,2,3,4,5,6,7,8,9,10,11,12 }; return &a; } ? ? f1(void) ? ? return f2()[0]; } void main() { printf("%d\n", f1 ??); system("pause"); } /* // a -> int [3][4] // &a -> int (*)[3][4] int (*f2(void))[3][4]{ static int a[3][4] = { 1,2,3,4,5,6,7,8,9,10,11,12 }; return &a; } // f2() -> &a 리턴 // f2()[0] -> a int (*f1(void))[4]{ return f2()[0]; } // f1() ->..
#include ? ? f2(void) ? ? static int a[3][4] = { 1,2,3,4,5,6,7,8,9,10,11,12 }; return a; } ? ? f1(void) ? ? return f2()[2]; } void main() { printf("%d\n", f1 ??); system("pause"); } /* int(*f2(void))[4]{ static int a[3][4] = { 1,2,3,4,5,6,7,8,9,10,11,12 }; return a; } // f2는 int (* (void))[4] 를 리턴한다. // f2()의 타입은 int (*) [4] // f2()[2]의 타입은 int [4] // 배열 상태이기 때문에 int *로 변경한다. int(*f1(void)) { re..
- Total
- Today
- Yesterday
- laplacian of gaussian
- erosion
- high pass filter
- dilation
- black top hat
- segmentation
- median filter
- bilateral filter
- mean filter
- Sobel
- 영상처리
- upsampling
- adaptive thresholding
- difference of gaussian
- gradient
- canny
- morphological operation
- hough transform
- top hat
- Low pass filter
- OpenCV
- Line Detection
- 캐니 엣지
- morphology
- pyrDown
- Filter
- pyrUp
- direction detection
- equalizing
- canny operator
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |