分色片专题

C++:将六个tif分色片写成bmp格式图片(8位深)

#include <cv.h> #include <highgui.h> #include <iostream> //#include <windows.h> #include <stdlib.h> #include <stdio.h> #include <fstream> #include<opencv2/opencv.hpp> //必须得加上,才可以使用imread、MAT等opencv功能