1. Total number of books purchased in 2017. 2. Maximum price that library has paid for any book. Also find the number of books that has the maximum price. 3. Second Maximum Price. 4. Minimum price that library has paid for any book. Also find the number of books that has the minim...
// Sobel 横向纵向边缘检测算子 // Gx及Gy分别代表经横向及纵向边缘检测的图像 Mat sobelx; Sobel(grey, sobelx, CV_32F, 1, 0); // 最大最小 梯度 double minVal, maxVal; minMaxLoc(sobelx, &minVal, &maxVal); //find minimum and maximum intensities //图像 对比度和亮度增强 g(i,j)=α⋅...