digital image processing
2019-03-21
2 0 0
4.0
Other
Earn points
#Include # include # include # include using namespace STD; using namespace CV; int main() {/ / image reading mat image = imread & quot; D / PS/ meiyuan.png" ;); / / judge whether there is a problem in image reading, if (! image.data ){cout & lt; & lt; & quot; image read is error! & quot; & lt; & lt; endl; return 0;} / / output cout & lt; & lt; & lt; & quot; image basic information Info:Height :" < < image.size ().height << " Width:" << image.size (). Width & lt; & lt; endl; / / the original image displays namedwindow (& quot; original image & quot;); imshow (& quot; original image & quot;, image); imwrite (& quot; original image & quot;); original.jpg" ;, image); / / process image mat image_ tmp = image.clone ();int nl = image.rows ;int nc = image.cols * image.channels (); / / actual column if( image.isContinuous ()){nc = nc * nl;nl = 1;}
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
Golang AOA Android Open Accessory HID Control
0
0
no vote
PClite
0
0
no vote
GMSK Linear Receiver
0
0
no vote
The golden version of AFT that has been passed dow
0
0
no vote
No comment