일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- public
- memory
- preprocessing
- length
- flutter
- Read
- digitalRead
- APP
- Contour
- wpf
- atmega328
- stream
- mfc
- aduino
- Barcode
- parameter
- c++
- 3D
- Encapusulation
- Pointer
- java
- Android
- file access
- SERIAL
- Unity
- UNO
- sensor
- Class
- compare
- inheritance
Archives
- Today
- Total
목록circle (1)
폴크(FOLC)
MFC - C++ 에서 Circle 영역의 데이터 핸들링 방법
// 원의 중심과 반지름 Point center(100, 100); int radius = 50; // 마스크 생성해서 처리 하는 방법 Mat mask = Mat::zeros(image.size(), CV_8UC1); circle(mask, center, radius, Scalar(255), -1); // 흰색 원 (255 값으로) Mat modified = image.clone(); // 원형 영역의 픽셀 값 +20 (또는 -20) for (int y = 0; y for (int x = 0; x if (mask.at(y, x) == 255) { // saturate_cast 사용으로 0~2..
C, C++, MFC/C, C++, MFC 테크닉
2025. 4. 24. 22:35