OpenCv基础应用一

#include
#include

using namespace cv;
using namespace std;

int main(int argc, char** argv){
	//Read the Image
	Mat image = imread("F:\\All_Code\\C++\\101.jpg");
	Mat temp_img, dst_img;
	
	//**********************************
	int length = image.cols;
	int wideth = image.rows;
	int channels = image.channels();
	
	cout<<"image_length = "<<length<<","<<"image_wideth = "<<wideth<<","<<"image_channels"<<channels<<endl;
	cout<<"size = "<<image.size<<endl;
}

你可能感兴趣的:(OpenCV-Python)