VB.NET: Read DICOM Medical Image

How to read DICOM medical images on document image using VB.NET
Yiigo provides .NET DICOM medical image reading support included in Yiigo.Image for .NET, which can be easily added to your document imaging applications with fully-automated, dynamic, and feature-packed DICOM medical image recognition functionalities. Find more DICOM medical image reading information on Yiigo.Imaging for .NET DICOM Reading Plugin.
Yiigo.Imaging for .NET DICOM Reading Plugin has those following functionalities:
  • Create, read and save DICOM Directories
  • Create, load and save DICM Dataset
  • Process DICOM images with Zooming & Panning
  • Annotate, redact DICOM images
  • Adjust medical image Brightness and Contrast adjustments
  • Rotate DICOM medical image with 90, 180 degrees
  • Flip DICOM medical image horizontally and vertically
  • Save PDF to file, IStream and Stream
For VB.NET developers, Yiigo provides online tutorials to read, process DICOM medical image using Yiigo.Image for .NET and .NET DICOM Reading Plugin in details. Find more DICOM reading tutorials on DICOM Reading Support for Visual C#.NET, Web Imaging Viewer DICOM Reading Support and Read DICOM Medical Image in .NET Winforms.
Read DICOM Medical Image with VB.NET Sample Code


Before reading DICOM medical images in VB.NET, make sure that you have installed.

Start to Read DICOM Images

  • Start your Microsoft Visual Studio;
  • Choose "Project" in "File-New" from the menu;
  • In "New Project" dialog box, choose "Visual Basic Projects";
  • Choose "Windows Application" in the "Templates" List and name it "YiigoImagingDICOM ReadVBNET";
  • In the "Solution Explorer" window from the context menu, right-click on the "References" folder, and select "Add Reference...";
  • In the "Add Reference" dialog box, select the ".NET" tab and browse to Yiigo.Imaging.Net.dll library and Yiigo.Imaging.Net.Dicom.Read.dll ;
  • Add it to your VB.NET applications;
  • Import Yiigo .NET Image Namespace & copy those following codes:
Imports System.IO
Imports System.Drawing.Printing
Imports Yiigo.Imaging
Imports Yiigo.Imaging.Processing
Imports Yiigo.Imaging.DicomRead

' Add DICOM reader to you applications
Private Sub ReadDICOM(stm As Stream)
_dataSet = new DicomDataset(string name, DicomDataSetLoad stm)
_dImage = _dataSet.GetModalityTransformedImage(0)
_image = _dImage.AllocateImage()
_window = _dImage.DefaultWindow
_leveling = _dImage.DefaultLeveling
End Sub

Private Sub UpdateImage()
int window = _window
if (_dImage.ImageCameFromSignedSamples)
window += _dImage.ImageDataShiftedBy
_dImage.GetAtalaImage(_image, window, _leveling
End Sub

' Save DICOM images
Private Sub Save()
End Sub
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner