#include #include #include #include using namespace std; using namespace cv; int main() { Mat cow_binary = imread("cow_binary.bmp", IMREAD_GRAYSCALE); Mat castle_grayScale = imread("castle_original.jpg", IMREAD_GRAYSCALE); Mat book_grayScale = imread("book_original.jpg", IMREAD_GRAYSCALE); Mat eroded, dilated, opened, closed; Mat gradient, black_top_hat; Mat structuringElement_5x5 = Mat(5, 5, CV..
#include #include #include #include using namespace std; using namespace cv; Mat adaptiveThresholding(Mat &image, int inputThreshold = 10) { Mat result = image.clone(); // compute integral image Mat integralImage; integral(image, integralImage, CV_32S); int blockSize = 21; // size of the neighborhood int threshold = 10;// pixel will be compared to (mean - threshold) // for each row int halfSize ..
#include #include #include #include using namespace std; using namespace cv; class ColorHistogram { private: int histSize[3]; // size of each dimension float hranges[2]; // range of values (same for the 3 dimensions) const float* ranges[3]; // array of ranges for each dimension int channels[3]; // channel to be considered public: ColorHistogram() { // Prepare default arguments for a color histog..
- Total
- Today
- Yesterday
- dilation
- gradient
- difference of gaussian
- equalizing
- Filter
- Sobel
- segmentation
- erosion
- pyrDown
- canny
- Line Detection
- hough transform
- direction detection
- upsampling
- morphology
- top hat
- OpenCV
- morphological operation
- black top hat
- pyrUp
- canny operator
- bilateral filter
- high pass filter
- 캐니 엣지
- mean filter
- median filter
- Low pass filter
- 영상처리
- adaptive thresholding
- laplacian of gaussian
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |