GithubHelp home page GithubHelp logo

ivmartel / dwv-vue Goto Github PK

View Code? Open in Web Editor NEW
95.0 8.0 34.0 47.18 MB

Medical image viewer using DWV (DICOM Web Viewer) and Vue.js.

Home Page: https://ivmartel.github.io/dwv-vue

License: GNU General Public License v3.0

JavaScript 15.23% HTML 1.93% Vue 82.66% CSS 0.17%
medical-imaging dicom-web-viewer dwv vuejs vue

dwv-vue's Introduction

dwv-vue

Medical viewer using DWV (DICOM Web Viewer) and Vue.js.

All coding/implementation contributions and comments are welcome. Releases should be ready for deployment otherwise download the code and install dependencies with a yarn or npm install.

dwv-vue is not certified for diagnostic use. Released under GNU GPL-3.0 license (see license.txt).

Node.js CI

Available Scripts

  • ìnstall: install dependencies
  • dev: serve with hot reload at localhost:5173
  • lint: run linting
  • test: run unit tests with hot reload
  • build: build for production

Unit tests use Vitest.

This project was generated with vite version 5.2.0.

For a detailed explanation on how things work, check out the vite guide.

Steps to run the viewer from scratch

# get the code
git clone https://github.com/ivmartel/dwv-vue.git

# move to its folder
cd dwv-vue

# install dependencies
yarn install

# call the start script to launch the viewer on a local server
yarn run dwv

You can now open a browser at http://localhost:5173 and enjoy!

dwv-vue's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar greenkeeper[bot] avatar greenkeeperio-bot avatar ivmartel avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dwv-vue's Issues

An in-range update of @vue/cli-plugin-babel is breaking the build 🚨

The devDependency @vue/cli-plugin-babel was updated from 4.1.0 to 4.1.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@vue/cli-plugin-babel is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.1.1

🐛 Bug Fix

  • @vue/cli-plugin-typescript

Committers: 1

Commits

The new version differs by 3 commits.

  • 2ddcc65 v4.1.1
  • dd98fa6 fix: fix tsx compilation (#4894)
  • d21245d workflow: correctly decide which dist-tag to use

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of vue is breaking the build 🚨

The dependency vue was updated from 2.5.17 to 2.5.18.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

vue is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v2.5.18

Includes everything in 2.5.18-beta.0

Bug Fixes

Commits

The new version differs by 164 commits ahead by 164, behind by 4.

  • dadc918 build: release 2.5.18
  • eb81ec2 build: build 2.5.18
  • dfaf9e2 fix(types): type support for advanced async components (#8438)
  • 8a2dbf5 fix(transition-group): fix activeInstance regression
  • 0ed0aad fix: fix keyName checking for space and delete in IE11 (#9150)
  • f077ed1 fix(ssr): fix ssr template publicPath generation
  • 93850f4 chore: fix sponsor link
  • 1b4a8a0 fix(compiler): fix codegen for v-for component inside template
  • 448ba65 fix(types): correct scopedSlot types (#9131)
  • 0d7fb73 chore: update sponsors/backers [ci skip]
  • e8031b4 build: release v2.5.18-beta.0
  • fe194dd build: build v2.5.18-beta.0
  • 3078352 fix(ssr): resolve server directives the same as on client (#9129)
  • aca17b4 ci: add regression test for popular libraries in Vue.js ecosystem (#8608)
  • e4b1b57 fix(ssr): adjust call stack size defer threshold

There are 164 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of vue-template-compiler is breaking the build 🚨

The devDependency vue-template-compiler was updated from 2.5.17 to 2.5.18.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

vue-template-compiler is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v2.5.18

Includes everything in 2.5.18-beta.0

Bug Fixes

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @vue/cli-plugin-eslint is breaking the build 🚨

The devDependency @vue/cli-plugin-eslint was updated from 3.3.0 to 3.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@vue/cli-plugin-eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 49 commits.

  • 22232df v3.4.0
  • bf19fe2 chore: pre release sync
  • 49a2c72 chore: @vue/[email protected]
  • 6e5e117 fix: add webpack to plugins' dependencies, fix yarn peer dep warnings
  • 3d6eab9 fix: add @vue/component-compiler-utils to dependencies, fix yarn pnp compatibility
  • 9a9a707 chore: update deps
  • f3fe8b3 fix: fix linting of tsx script in .vue file (#3097)
  • 2163260 chore: also show typescript version in vue info
  • 6a75056 fix: should check yarn when no pacakage manager specified
  • fb71653 fix(cli-plugin-babel): transpileDependencies should only match packages inside node_modules, close #3057 (#3229)
  • 10c253a chore: validates multiple arguments for vue create command (#3195)
  • 0a0a65f fix: pin webpack version, fixes #3335
  • 189ea54 feat: update eslint-config-typescript to use @typescript-eslint (#3359)
  • b61ea45 feat: add typings for vue.config.js options (#3387)
  • 09be0f2 fix: add timeout for requests

There are 49 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Uncaught TypeError: Cannot read properties of undefined (reading 'meta')

### When I try to upload DCM file its throwing me error.

Uncaught TypeError: Cannot read properties of undefined (reading 'meta')
at Proxy.getMetaData (dwv.min.js?e730:3)
at Array.eval (dwv.vue?1f80:147)
at w.utils.ListenerHandler.fireEvent (dwv.min.js?e730:3)
at y (dwv.min.js?e730:3)
at L (dwv.min.js?e730:3)
at w.io.FilesLoader.eval [as onload] (dwv.min.js?e730:3)
at w.utils.ThreadPool.h [as onwork] (dwv.min.js?e730:3)
at w.utils.ThreadPool.onTaskEnd (dwv.min.js?e730:3)
at w.utils.WorkerThread.stop (dwv.min.js?e730:3)
at t (dwv.min.js?e730:3)

Move to Github actions

Travis seems to have changed their priorities and is taking too long to answer to build credit requests. Github actions provides the same services, it will be used to build this repo from now on.

conflict with bootstrap css

Hi! Thanks for the project, I'm new with it and I'm having problems with the integration with bootstrap. The example it's made with angular material but my site uses bootstrap.

When I import the bootstrap css:

import Vue from 'vue'
import App from './App.vue'
import index from "./router";
import BootstrapVue from 'bootstrap-vue'

import 'bootstrap/dist/css/bootstrap.css'  // <------ this import
import 'bootstrap-vue/dist/bootstrap-vue.css'


Vue.config.productionTip = false

Vue.use(BootstrapVue)

new Vue({
  router: index,
  render: h => h(App),
}).$mount('#app')

I'm unable to load any file, I'm getting this error:

Uncaught TypeError: r is not a function
    at Array.i (dwv.min.js?e730:3)
    at w.utils.ListenerHandler.fireEvent (dwv.min.js?e730:3)
    at HTMLDivElement.h (dwv.min.js?e730:3)

Any help would be appreciated as I really can't understand how the css can affect the js logic.

An in-range update of eslint-plugin-vue is breaking the build 🚨

The devDependency eslint-plugin-vue was updated from 5.2.2 to 5.2.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-vue is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 3 commits.

  • 1064f10 🔖 5.2.3
  • 158c10b chore: update ESLint to v6
  • 082c03d fix: remove eslint internal traverser (#910)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

关于请求问题

请问这个框架我怎样更改请求方式,除了这种拖拽方式是否可以使用http

An in-range update of @vue/cli-plugin-pwa is breaking the build 🚨

The devDependency @vue/cli-plugin-pwa was updated from 3.3.0 to 3.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@vue/cli-plugin-pwa is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 49 commits.

  • 22232df v3.4.0
  • bf19fe2 chore: pre release sync
  • 49a2c72 chore: @vue/[email protected]
  • 6e5e117 fix: add webpack to plugins' dependencies, fix yarn peer dep warnings
  • 3d6eab9 fix: add @vue/component-compiler-utils to dependencies, fix yarn pnp compatibility
  • 9a9a707 chore: update deps
  • f3fe8b3 fix: fix linting of tsx script in .vue file (#3097)
  • 2163260 chore: also show typescript version in vue info
  • 6a75056 fix: should check yarn when no pacakage manager specified
  • fb71653 fix(cli-plugin-babel): transpileDependencies should only match packages inside node_modules, close #3057 (#3229)
  • 10c253a chore: validates multiple arguments for vue create command (#3195)
  • 0a0a65f fix: pin webpack version, fixes #3335
  • 189ea54 feat: update eslint-config-typescript to use @typescript-eslint (#3359)
  • b61ea45 feat: add typings for vue.config.js options (#3387)
  • 09be0f2 fix: add timeout for requests

There are 49 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Activate dwv decoders

dwv decoders are needed to decode JPEG encoded DICOM data. They come as web workers and their script must be accessible.

Update dwv to v0.25.2

A new version of dwv is out. It does not have the fitToWindow option so the code must be updated to compensate for it.

Add window/level preset chooser

The viewer must provide a drop-down menu with different window/level pre-sets: the ones of the DICOM file, modality specific ones and some user specific.

An in-range update of @vue/cli-plugin-unit-jest is breaking the build 🚨

The devDependency @vue/cli-plugin-unit-jest was updated from 3.0.5 to 3.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@vue/cli-plugin-unit-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Loading several dicom files

Firstly thank you for your work producing this.

I tried to upload two dicom files using dwv api (dwv.App.loadFiles)and have faced with load-item error with the second one. Uploading any one file works fine, but when i try to upload several, only the first one is uploaded, the rest give an error. The same problem occurred when uploading the same files to the demo version - https://ivmartel.github.io/dwv-vue/demo/stable/index.html

I attach the files that caused the error for verification. Both anonymized: test.zip

Any ideas how to fix this, or is this my fault?

Thank you in advance

An in-range update of core-js is breaking the build 🚨

The dependency core-js was updated from 3.4.6 to 3.4.7.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

core-js is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for 3.4.7 - 2019.12.03
  • Fixed an NPM publishing issue
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Enforce code styling

Code styling should be enforced via eslint. For example:

quote: ['error', 'single']
semi: ['error', 'never'] (vue style)
'space-before-function-paren': ['error', {anonymous: 'never', named: 'always'}]

Tools plugins can be used to apply these rules when saving files and avoid errors at the automatic linting before tests.

Add input file option

The front page must provide an input file option to load data via file selection.

An in-range update of @vue/cli-plugin-babel is breaking the build 🚨

The devDependency @vue/cli-plugin-babel was updated from 3.3.0 to 3.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@vue/cli-plugin-babel is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 49 commits.

  • 22232df v3.4.0
  • bf19fe2 chore: pre release sync
  • 49a2c72 chore: @vue/[email protected]
  • 6e5e117 fix: add webpack to plugins' dependencies, fix yarn peer dep warnings
  • 3d6eab9 fix: add @vue/component-compiler-utils to dependencies, fix yarn pnp compatibility
  • 9a9a707 chore: update deps
  • f3fe8b3 fix: fix linting of tsx script in .vue file (#3097)
  • 2163260 chore: also show typescript version in vue info
  • 6a75056 fix: should check yarn when no pacakage manager specified
  • fb71653 fix(cli-plugin-babel): transpileDependencies should only match packages inside node_modules, close #3057 (#3229)
  • 10c253a chore: validates multiple arguments for vue create command (#3195)
  • 0a0a65f fix: pin webpack version, fixes #3335
  • 189ea54 feat: update eslint-config-typescript to use @typescript-eslint (#3359)
  • b61ea45 feat: add typings for vue.config.js options (#3387)
  • 09be0f2 fix: add timeout for requests

There are 49 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Length not displaying on multi-framed images

Firstly thank you for your work producing this.

I am running the component straight out of the box and it all works fine when parsing multiple URLs. However, when using a single image with multiple frames I try to draw on the image and get the following.

image

Any idea how to fix this or is this a known issue?

An in-range update of @vue/cli-plugin-unit-jest is breaking the build 🚨

The devDependency @vue/cli-plugin-unit-jest was updated from 4.1.0 to 4.1.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@vue/cli-plugin-unit-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.1.1

🐛 Bug Fix

  • @vue/cli-plugin-typescript

Committers: 1

Commits

The new version differs by 3 commits.

  • 2ddcc65 v4.1.1
  • dd98fa6 fix: fix tsx compilation (#4894)
  • d21245d workflow: correctly decide which dist-tag to use

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @vue/cli-service is breaking the build 🚨

The devDependency @vue/cli-service was updated from 3.3.1 to 3.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@vue/cli-service is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.