翻譯|使用教程|編輯:鮑佳佳|2021-05-07 11:16:35.830|閱讀 207 次
概述:LEADTOOLS有世界領先的SDK來完成所有繁重的工作。在以前的文章中,我們討論了 查看圖像, 保存圖像, 將圖像組合成一個文件以及 將一個文件拆分成多個圖像。LEADTOOLS還可以在圖像上繪制和編輯注釋和標記對象。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
LEADTOOLS Medical Imaging Suite幫您開發功能強大的PACS和醫學成像應用程序。其主要功能包括Medical Web Viewer框架,Medical 3D,無痕HTML5 DICOM查看器,DICOM多媒體解碼, 高級與低級的PACS SCP、SCU函數和控件,安全PACS通訊,打印至PACS,全面的DICOM數據集支持,圖像標注,擴展灰度級圖像顯示,例如窗位和LUT處理,以及專業醫學圖像處理。其它功能包括JPEG無損壓縮,JPIP和有符號及無符號圖像數據處理。
LEADTOOLS Medical Imaging Suite
無論您的圖像處理需求是什么,LEADTOOLS都有世界領先的SDK來完成所有繁重的工作。在以前的文章中,我們討論了 查看圖像, 保存圖像, 將圖像組合成一個文件以及 將一個文件拆分成多個圖像。LEADTOOLS還可以在圖像上繪制和編輯注釋和標記對象。
下面的代碼將幫助您入門,或者您隨時可以查看我們有關圖形注釋的完整教程 。我們還將介紹 如何 為您的文檔或圖像創建自定義注釋。
private void Form1_Load(object sender, EventArgs e) { // Initialize Image Viewer object viewer = new ImageViewer(); viewer.Dock = DockStyle.Fill; // Initialize Automation Control for Image Viewer automationControl = new ImageViewerAutomationControl(); automationControl.ImageViewer = viewer; // Initialize a new RasterCodecs object RasterCodecs codecs = new RasterCodecs(); // Load the main image into the viewer viewer.Image = codecs.Load(@"C:\LEADTOOLS21\Resources\Images\ocr1.tif"); // Initialize the Interactive Mode for the Image Viewer AutomationInteractiveMode automationInteractiveMode = new AutomationInteractiveMode(); automationInteractiveMode.AutomationControl = automationControl; // Add the Interactive Mode to the Image Viewer viewer.InteractiveModes.BeginUpdate(); viewer.InteractiveModes.Add(automationInteractiveMode); viewer.InteractiveModes.EndUpdate(); if (viewer.Image != null) { // Create and set up the Automation Manager annAutomationManager = new AnnAutomationManager(); annAutomationManager.RestrictDesigners = true; // Instruct the Manager to create all the default Automation objects. annAutomationManager.CreateDefaultObjects(); // Initialize the Manager Helper and create the Toolbar // Add the Toolbar and the Image Viewer to the Controls AutomationManagerHelper managerHelper = new AutomationManagerHelper(annAutomationManager); managerHelper.CreateToolBar(); Controls.Add(managerHelper.ToolBar); Controls.Add(viewer); // Set up the Automation (it will create the Container as well) automation = new AnnAutomation(annAutomationManager, automationControl); // Set this Automation as the active one automation.Active = true; // Set the size of the Container to the size of the Image Viewer automation.Container.Size = automation.Container.Mapper.SizeToContainerCoordinates(LeadSizeD.Create(viewer.Image.ImageWidth, viewer.Image.ImageHeight)); } }要自己進行測試,請確保下載最新的LEADTOOLS SDK評估( 如果尚未下載)。該試用版有效期為60天,并提供無限制的聊天和電子郵件支持。
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn