npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

dicom-ui-tang

v2.0.10

Published

npm i dicom-ui-tang 或者 yarn add dicom-ui-tang

Readme

使用方法

引入依赖

npm i dicom-ui-tang 或者 yarn add dicom-ui-tang

main.js 注册

import { createApp } from 'vue' import App from './App.vue'

import dicomUi from 'dicom-ui-tang' import 'dicom-ui-tang/lib/dicom-ui-tang.css'

createApp(App).use(dicomUi).mount('#app')

使用 dicom-ui

<dicom-viewer :imageIds="imageIds"></dicom-viewer> imageIds 传入带 wadouri 协议头的 imageId 集合,数据类型如下: [ 'wadouri:https://xxx1.dcm', 'wadouri:https://xxx2.dcm', 'wadouri:https://xxx3.dcm', 'wadouri:https://xxx4.dcm' ]

结节待更新

points数组 1左右 2上下 3层 LPS坐标

1、加一个结节清屏功能。 2、锁定的结节颜色调整为红色。 3、自动跳转指定的结节位置。 4、右边结节列表过长,会撑开布局。上方可以加一个border-top 5、添加鼠标滑动显示worldPoint坐标。 -> 最好不要加 6、是否选中和锁定可以去掉,通过图标颜色去判定。 7、右边结节显示布局可以添加结节统计、多选、排序等功能

数据结构 const FrameOfReferenceUID = viewport.getFrameOfReferenceUID(); const annotation = { highlighted: true, invalidated: true, metadata: { viewPlaneNormal: <Types.Point3>[...viewPlaneNormal], enabledElement, viewUp: <Types.Point3>[...viewUp], FrameOfReferenceUID, referencedImageId, toolName: this.getToolName(), volumeId, }, data: { label: '', handles: { // No need a textBox textBox: { hasMoved: false, worldPosition: null, worldBoundingBox: null, }, points: [ <Types.Point3>[...worldPos], <Types.Point3>[...worldPos], <Types.Point3>[...worldPos], <Types.Point3>[...worldPos], ], activeHandleIndex: null, }, segmentationId: null, }, };