fo-dicom-master

所属分类:Windows编程
开发工具:C#
文件大小:3201KB
下载次数:10
上传日期:2018-04-12 13:56:04
上 传 者yihuilhkf
说明:  基于fo-dicom库的DICOM开发工具包
(DICOM development toolkit based on fo-dicom Library)

文件列表:
C-Find SCP (0, 2017-12-19)
C-Find SCP\C-Find SCP.csproj (2619, 2017-12-19)
C-Find SCP\FindSCP.cs (3584, 2017-12-19)
C-Find SCP\Program.cs (554, 2017-12-19)
C-Find SCP\Properties (0, 2017-12-19)
C-Find SCP\Properties\AssemblyInfo.cs (1316, 2017-12-19)
C-Find SCU (0, 2017-12-19)
C-Find SCU\C-Find SCU.csproj (2582, 2017-12-19)
C-Find SCU\Program.cs (1337, 2017-12-19)
C-Find SCU\Properties (0, 2017-12-19)
C-Find SCU\Properties\AssemblyInfo.cs (1316, 2017-12-19)
C-Store SCU (0, 2017-12-19)
C-Store SCU\C-Store SCU.csproj (3848, 2017-12-19)
C-Store SCU\Form1.Designer.cs (3997, 2017-12-19)
C-Store SCU\Form1.cs (1368, 2017-12-19)
C-Store SCU\Form1.resx (6104, 2017-12-19)
C-Store SCU\Program.cs (471, 2017-12-19)
C-Store SCU\Properties (0, 2017-12-19)
C-Store SCU\Properties\AssemblyInfo.cs (1318, 2017-12-19)
C-Store SCU\Properties\Resources.Designer.cs (2803, 2017-12-19)
C-Store SCU\Properties\Resources.resx (5496, 2017-12-19)
C-Store SCU\Properties\Settings.Designer.cs (1068, 2017-12-19)
C-Store SCU\Properties\Settings.settings (242, 2017-12-19)
ChangeLog.md (12093, 2017-12-19)
ConsoleTest (0, 2017-12-19)
ConsoleTest\ConsoleTest.csproj (3691, 2017-12-19)
ConsoleTest\Program.cs (6437, 2017-12-19)
ConsoleTest\Properties (0, 2017-12-19)
ConsoleTest\Properties\AssemblyInfo.cs (755, 2017-12-19)
ConsoleTest\packages.config (137, 2017-12-19)
Create Distribution Package.bat (1424, 2017-12-19)
DICOM [Native] (0, 2017-12-19)
DICOM [Native]\AssemblyInfo.cpp (589, 2017-12-19)
DICOM [Native]\CharLS (0, 2017-12-19)
DICOM [Native]\CharLS\License.txt (1500, 2017-12-19)
DICOM [Native]\CharLS\colortransform.h (4202, 2017-12-19)
DICOM [Native]\CharLS\config.h (1255, 2017-12-19)
... ...

# Fellow Oak DICOM for .NET Please join the [Google group](http://groups.google.com/group/fo-dicom) for updates and support. Binaries are available from [GitHub](https://github.com/rcd/fo-dicom/releases) and [NuGet](http://www.nuget.org/packages/fo-dicom). ### Features * High-performance, fully asynchronous, .NET 4.0 API * JPEG (including lossless), JPEG-LS, JPEG2000, and RLE image compression * Supports very large datasets with content loading on demand * Image rendering ### Notes * Support for compressed images requires the Visual Studio 2010 SP1 Redistributable Package to be installed. ([x86](http://www.microsoft.com/en-us/download/details.aspx?id=8328) or [x***](http://www.microsoft.com/en-us/download/details.aspx?id=14632)) ### Examples #### File Operations ```csharp var file = DicomFile.Open(@"test.dcm"); var patientid = file.Dataset.Get(DicomTag.PatientID); file.Dataset.Add(DicomTag.PatientsName, "DOE^JOHN"); // creates a new instance of DicomFile file = file.ChangeTransferSyntax(DicomTransferSyntax.JPEGProcess14SV1); file.Save(@"output.dcm"); ``` #### Render Image to JPEG ```csharp var image = new DicomImage(@"test.dcm"); image.RenderImage().Save(@"test.jpg"); ``` #### C-Store SCU ```csharp var client = new DicomClient(); client.AddRequest(new DicomCStoreRequest(@"test.dcm")); client.Send("127.0.0.1", 12345, false, "SCU", "ANY-SCP"); ``` #### C-Echo SCU/SCP ```csharp var server = new DicomServer(12345); var client = new DicomClient(); client.NegotiateAsyncOps(); for (int i = 0; i < 10; i++) client.AddRequest(new DicomCEchoRequest()); client.Send("127.0.0.1", 12345, false, "SCU", "ANY-SCP"); ``` #### C-Find SCU ```csharp var cfind = DicomCFindRequest.CreateStudyQuery(patientId: "12345"); cfind.OnResponseReceived = (DicomCFindRequest rq, DicomCFindResponse rp) => { Console.WriteLine("Study UID: {0}", rp.Dataset.Get(DicomTag.StudyInstanceUID)); }; var client = new DicomClient(); client.AddRequest(cfind); client.Send("127.0.0.1", 104, false, "SCU-AE", "SCP-AE"); ``` #### C-Move SCU ```csharp var cmove = new DicomCMoveRequest("DEST-AE", studyInstanceUid); var client = new DicomClient(); client.AddRequest(cmove); client.Send("127.0.0.1", 104, false, "SCU-AE", "SCP-AE"); ``` ### Contributors * [Hesham Desouky](https://github.com/hdesouky) (Nebras Technology) * [Mahesh Dubey](https://github.com/mdubey82) * [Anders Gustafsson](https://github.com/cureos) (Cureos AB) * [Justin Wake](https://github.com/jwake) * [Chris Horn](https://github.com/GMZ) * [captainstark](https://github.com/captainstark) ### License This library is licensed under the [Microsoft Public License (MS-PL)](http://opensource.org/licenses/MS-PL). See _License.txt_ for more information.

近期下载者

相关文件


收藏者