fo-dicom-master

所属分类:图片显示
开发工具:C#
文件大小:1762KB
下载次数:48
上传日期:2015-08-31 09:21:32
上 传 者000000000000000000
说明:  功能强大的dicom开源代码..好用,强大
(great dicom open source)

文件列表:
ChangeLog.md (12093, 2014-06-21)
ConsoleTest (0, 2014-06-21)
ConsoleTest\ConsoleTest.csproj (3693, 2014-06-21)
ConsoleTest\Program.cs (5205, 2014-06-21)
ConsoleTest\Properties (0, 2014-06-21)
ConsoleTest\Properties\AssemblyInfo.cs (755, 2014-06-21)
ConsoleTest\packages.config (137, 2014-06-21)
Create Distribution Package.bat (1418, 2014-06-21)
DICOM [Native] (0, 2014-06-21)
DICOM [Native]\AssemblyInfo.cpp (589, 2014-06-21)
DICOM [Native]\CharLS (0, 2014-06-21)
DICOM [Native]\CharLS\License.txt (1500, 2014-06-21)
DICOM [Native]\CharLS\colortransform.h (4202, 2014-06-21)
DICOM [Native]\CharLS\config.h (1255, 2014-06-21)
DICOM [Native]\CharLS\context.h (1554, 2014-06-21)
DICOM [Native]\CharLS\contextrunmode.h (1634, 2014-06-21)
DICOM [Native]\CharLS\decoderstrategy.h (6372, 2014-06-21)
DICOM [Native]\CharLS\defaulttraits.h (2601, 2014-06-21)
DICOM [Native]\CharLS\encoderstrategy.h (3882, 2014-06-21)
DICOM [Native]\CharLS\header.cpp (13765, 2014-06-21)
DICOM [Native]\CharLS\header.h (1448, 2014-06-21)
DICOM [Native]\CharLS\interface.cpp (6109, 2014-06-21)
DICOM [Native]\CharLS\interface.h (2224, 2014-06-21)
DICOM [Native]\CharLS\jpegls.cpp (4557, 2014-06-21)
DICOM [Native]\CharLS\jpegmarker.h (3622, 2014-06-21)
DICOM [Native]\CharLS\lookuptable.h (1015, 2014-06-21)
DICOM [Native]\CharLS\losslesstraits.h (2717, 2014-06-21)
DICOM [Native]\CharLS\processline.h (9834, 2014-06-21)
DICOM [Native]\CharLS\publictypes.h (2017, 2014-06-21)
DICOM [Native]\CharLS\scan.h (23419, 2014-06-21)
DICOM [Native]\CharLS\stdafx.cpp (0, 2014-06-21)
DICOM [Native]\CharLS\util.h (2198, 2014-06-21)
DICOM [Native]\Dicom.Imaging.Codec.Jpeg.cpp (3310, 2014-06-21)
DICOM [Native]\Dicom.Imaging.Codec.Jpeg.h (5884, 2014-06-21)
DICOM [Native]\Dicom.Imaging.Codec.Jpeg.i (19136, 2014-06-21)
DICOM [Native]\Dicom.Imaging.Codec.Jpeg2000.cpp (13442, 2014-06-21)
DICOM [Native]\Dicom.Imaging.Codec.Jpeg2000.h (1264, 2014-06-21)
... ...

# 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.

近期下载者

相关文件


收藏者