線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1706
推到 Plurk!
推到 Facebook!

使用 MIL Lib 如何將影像 旋轉90度呢?

尚未結案
s89205053
一般會員


發表:34
回覆:8
積分:8
註冊:2007-06-04

發送簡訊給我
#1 引用回覆 回覆 發表時間:2012-01-10 13:45:34 IP:60.249.xxx.xxx 訂閱
小弟  機台上  的 CCD 與 待測物會相差 90度  所以想用 軟體的方式將影像 翻轉 90

因為視覺處理方面小弟是外行 在 K.TOP 與 GOOGLE 網站中 查不到 翻轉的方式

不care 翻轉後的 影像更新速度 想跟各位先輩們有無範例或者函式可以提供呢?


小弟 己有安裝 Mil Lib 6.0 & EC24Image 元件

謝謝~
wu330033
一般會員


發表:29
回覆:28
積分:11
註冊:2007-10-15

發送簡訊給我
#2 引用回覆 回覆 發表時間:2012-04-18 17:37:46 IP:60.249.xxx.xxx 訂閱
Please reference blow.

Synopsis
Rotate an image.
Syntax
void MimRotate(
double SrcCenX,
double DstCenX,
)
Description
This function rotates an image by the specified angle of rotation, using the specified interpolation mode. The center of rotation in the source image is determined by the specified X- and Y-source rotation-center coordinates. The rotated image will then be clipped to fit the destination buffer. It will be placed in the destination buffer with its center positioned at the specified X- and Y-destination center coordinates.

example:
MimRotate(MilSourceImage, MilTargetImage, 90, M_DEFAULT, M_DEFAULT, M_DEFAULT, M_DEFAULT, M_BILINEAR M_OVERSCAN_CLEAR);
系統時間:2024-04-20 0:00:33
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!