编程源码
#fo-dicom 5.2.6 .NET解析DICOM影像库 #C#实现DICOM SCU SCP通信 #DICOM文件匿名脱敏开发 #跨平台DICOM图像渲染 #PACS系统C#开发组件 #读取DICOM像素数据

fo-dicom 5.2.6开源DICOM 工具库zip下载

fo-dicom 是一套纯 C# 开源 DICOM 工具库,基于 .NET Standard 2.0,支持跨平台,是 .NET 生态主流的医学影像 DICOM 开发组件。许可证为 MS-PL,支持商用、修改与分发。5.2.6 属于 5.x 稳定维护版本,API 稳定,以问题修复为主。

8 浏览 2026-11-29
本资源免费 无需支付,直接下载
fo-dicom 5.2.6开源DICOM 工具库zip下载

正文详情 · 972 字

Getting started in modern .NET

If you are using the web application builder:

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddFellowOakDicom();
var app = builder.Build();
// This is still necessary for now until fo-dicom has first-class AspNetCore integration
DicomSetupBuilder.UseServiceProvider(app.Services);

If you are using the host builder:

var host = Host.CreateDefaultBuilder(args)
    .ConfigureServices(services =>
    {
        services.AddFellowOakDicom();
    })
    .Build();

// This is still necessary for now until fo-dicom has first-class AspNetCore integration
DicomSetupBuilder.UseServiceProvider(host.Services);

If you are not using the host builder, you'll need to make your own service collection:

var services = new ServiceCollection();
services.AddFellowOakDicom();
var serviceProvider = services.BuildServiceProvider();
DicomSetupBuilder.UseServiceProvider(serviceProvider);

Getting started in .NET Framework

Use DicomSetupBuilder to configure the internals of Fellow Oak DICOM:

new DicomSetupBuilder()
    .RegisterServices(s => s.AddFellowOakDicom())
.Build();
相关推荐