日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

图像处理和图像识别中常用的CxImage函数

發布時間:2023/11/27 生活经验 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 图像处理和图像识别中常用的CxImage函数 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、Load:reads from disk the image in a specific format;

2、Save:saves to disk the image in a specific format;

3、Filter:2D linear filter(圖像銳化,可提高圖像清晰度);

4、Copy:copies the image from an exsisting source;

5、Resample:resizes the image?;

6、Saturate:changes the saturation of the image(調整圖像飽和度);

7、GrayScale:圖像灰度化;

8、Flip:圖像上下翻動;

9、Mirror:圖像左右翻動;

10、Negative:顏色取反(255-原值);

11、Dither:converts the image to B&W using the desired method ;

12、Threshold:converts the image to B&W(二值化);

13、AdaptiveThreshold:converts the image to B&W, using an optimal threshold mask(自適應閾值法);

14、Colorize:replaces the original hue and saturation values;

15、Solarize:convert all colors above a given lightness level into their negative ;

16、Light:changes the brightness and the contrast of the image(圖像亮度和對比度調整);

17、Threshold2:filters only the pixels with a lightness less (or more) than the threshold level, and preserves the?? colors for the unfiltered pixels;
18、Dilate:enhance the light areas of the image;
19、Erode:enhance the dark areas of the image;
20、Contour:enhance the variations between adjacent pixels;similar results can be achieved using Filter(), but the algorithms are different both in Edge() and in Contour();
21、Edge:enhance the variations between adjacent pixels(注意線性和非線性的區別);similar results can be achieved using Filter(), but the algorithms are different both in Edge() and in Contour();
22、Trace:finds the contour of an object with a given color;
23、Noise:adds an uniform noise to the image;
24、Jitter:adds a random offset to each pixel in the image;

25、Draw:draws the image in the specified device context, with support for alpha channel, alpha palette, transparency, opacity;
26、GetWidth:獲得圖像的寬帶;
27、GetHeight:獲得圖像的高度;
28、GetXDPI:獲得圖像x軸分辨率(支持TIFF、JPEG、PNG、BMP格式);
29、GetYDPI:獲得圖像y軸分辨率(支持TIFF、JPEG、PNG、BMP格式);
30、IsValid:checks if the image is correctly initializated;
31、SetJpegQuality:set quality level for JPEG and JPEG2000;
32、GetJpegQuality:get quality level for JPEG and JPEG2000;
33、GetNumColors:returns 2, 16, 256; 0 for RGB images;
34、GetLastError:returns the last reported error;
35、SetPixelColor:設置像素顏色值;

總結

以上是生活随笔為你收集整理的图像处理和图像识别中常用的CxImage函数的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

歡迎分享!

轉載請說明來源于"生活随笔",并保留原作者的名字。

本文地址:图像处理和图像识别中常用的CxImage函数