Giter Club home page Giter Club logo

cornerstonedemo's People

Contributors

chafey avatar simonmd 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

Watchers

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

cornerstonedemo's Issues

Can't see any images

I'm currently trying to play around with the demo, but I can't manage to have actual images displaying. Wether it's on the live demo (http://chafey.github.io/cornerstoneDemo/) or locally, everything is black. From what I understand the images are just not accessible.

What would be the best way to get images to display? Do I have to create a server that responds to xmlhttprequests, or can I serve local files/files accessible via http? If I can serve local files, how? Modifying the JSON to lead to local files seem unsuccessful, and modifying the code in the js (loadStudy.js) files seem unsuccessful too.

Remove the master branch / set gh-pages as main branch?

Github allows you to assign the main branch to something other than master, we should do that to make the repo easier to search.

I'm not sure if it's actually possible to remove the master branch altogether, but if it is we could do that too.

Feature request - Image preload

Not sure if this is already possible but I could not fnd it.

Some studies which are large take a long time to load, specialy CTs, is there any way to add a generic image while a particular image within a series has not been loaded but someone navigates to that stack index?

Or on the other hand, is there a way to replace a particular stack index, say pass the generic image as the stack index initially but then replace it with another one?

Two different dicom files. Please help to check. Thx

Dear sir,

First please allow me to show my thanks for your great job of dicom file parser, viewer and tools.

I’m working on a web-based remote clinic project. I’m modifying your demo to show organized dicom files in a web-storage. And most of the file packages can be well shown.

But I’ve just meet a problem with two dicom files. You may try the files here:

http://pacs.yunshung.com/201507140000119q5cjcv97jev6f1mtv1tsmuusi.json?view

or

http://test.yunshung.com/csDemo/index2.html
which is an attempt to upgrade the libraries to the latest version of your great works (not done yet).

Could you please check the dicom files laid in the web-storage:

http://dicom.yunshung.com/201507140000119q5cjcv97jev6f1mtv1tsmuusi/1.3.46.670589.26.802276.1.20141114.154321.46183/1.3.46.670589.26.802276.2.20141114.154341.39249/1

http://dicom.yunshung.com/201507140000119q5cjcv97jev6f1mtv1tsmuusi/1.3.46.670589.26.802276.1.20141114.154321.46183/1.3.46.670589.26.802276.2.20141114.154422.39250/1

These files are well manipulated in OsiriX Lite in my laptop.

Are these files non-standard? Or should the libraries be modified to improve the compatibility with different files?

Thanks again for you time and help.

Wish you all the best.

BRs
KingMario

Questionable Code

I am not sure what this code is supposed to do:

function resizeMain() {
    var height = $(window).height();
    $('#main').height(height - 50);
    $('#tabContent').height(height - 50 -42);
}

$(window).resize(function() {
    resizeMain();
});
resizeMain();

but I don't think that #main is defined.

Also are you missing overflow-y: scroll on #tabContent?

Can't scroll thumbnails on mobile chrome on android

I have a new moto g phone with android kitkat. I can change w/l with single finger swipe,
change zoom with pinch, but I can't find a way of scrolling through the thumbnails: this is necessary because not all thumbnails can fit into the screen at one time.

dicom video clips

Will this application be supporting the playclip of dicom video which is of wadoURI type.

Delete length measurements

There needs to be a mechanism to delete measurements. This may go back to having key bindings. BIR specifies how to select the tool, and how to apply a "Dsiplay reset", but nothing about deleting specific measurements. This is useful in the clinical setting, however.

Responsive layout for small devices (iPhone)

Not sure if the demo is meant to be used on mobile yet, but just in case, some work would be needed to make it look good on phones.

img_2892

img_2891

Since you are using Bootstrap, I may be able to help a little with that if needed.

Does not work in Internet Explorer 11

When the demo is launched in IE11 and a study is selected, the viewport screen layout is messed, no images displayed and the console log shows the following error:

SCRIPT5022: InvalidStateError
cornerstoneWADOImageLoader.js (3737,5)

Loading indicators

Some feedback on image loading would be useful. Perhaps a discrete progress bar type indicator?

Keyboard modifier functionality for viewer tools

For those of us with trackpads, it is often useful to switch between tools using keyboard modifiers due to a lack of [right or center click] + drag

For example, in OsiriX, the default tool is WW/WL, but pressing Command = Pan, and Shift = Zoom

Some kind of key binding functionality might prove useful.

Version conflicts on bower install

I got the following version conflicts:

    1) cornerstone#~0.8.4 which resolved to 0.8.4 and is required by cornerstoneWADOImageLoader#0.7.2, cornerstoneWebImageLoader#0.5.3
    2) cornerstone#~0.8.1 which resolved to 0.8.4 and is required by cornerstoneDemo
    3) cornerstone#~0.9.0 which resolved to 0.9.1 and is required by cornerstoneTools#0.7.9

    1) jquery#~2.1.1 which resolved to 2.1.4 and is required by cornerstone#0.8.4, cornerstone#0.9.1, cornerstoneDemo, cornerstoneWADOImageLoader#0.7.2
    2) jquery#~2.2.0 which resolved to 2.2.4 and is required by cornerstoneTools#0.7.9
    3) jquery#1.9.1 - 3 which resolved to 3.2.1 and is required by bootstrap#3.3.7

The versions of the cornerstone* packages are quite old in bower.json. I tried updating them to the latest, but got into more version issues between the cornerstone packages so I just used the following resolutions:

"resolutions": {
   "cornerstone": "~0.8.1",
   "jquery": "~2.2.0"
}

This seems to work.

It would be nice to have some dicom data available for the demo, even one study.

Move measurement handles and wwwc tool active

Hi,

I put a length measurement on one image then I selected the tool wwwc.
And if i tried to resize my length measurement by moving one handle but the wwwc it's also applied.
I took a look on your sample allImageTools of cornerstoneTools and the same operation is working well.
Is it a issue or the cornerstone demo or do these two project do not have the same version of cornerstoneTools?

Many Thanks for your answer.

Adil

No 'Access-Control-Allow-Origin' header is present on the requested resource

Mac Chrome Version 57.0.2987.133 (64-bit) is getting a cross-origin error when visiting http://chafey.github.io/cornerstoneDemo/ It was working a few days ago. Also happens in Safari. In Firefox, the requests hang. Here's there Chrome error:

chafey.github.io/:1 XMLHttpRequest cannot load http://cornerstonetech.org/images/ClearCanvas/MRStudy/1.2.840.113619.2.5.1762583153.215519.978957063.226.dcm. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://chafey.github.io' is therefore not allowed access.
XHR failed loading: GET "http://cornerstonetech.org/images/ClearCanvas/MRStudy/1.2.840.113619.2.5.1762583153.215519.978957063.226.dcm".

I cleared cache/history in Safari, and still the same error.

http://cornerstonetech.org redirects to a godaddy ad page, btw.

Add Highlight Tool to the CornerstoneDemo

The highlight tool is available at: https://github.com/chafey/cornerstoneTools/blob/master/examples/allImageTools/index.html but not in the cornerstoneDemo. Should be easy to add using:

<button id="highlight" type="button" class="btn btn-sm btn-default" data-container='body' data-toggle="tooltip" data-placement="bottom" title="Highlight"><span class="fa fa-pencil-square-o"></span></button>
            $(buttons[12]).on('click touchstart',function() {
              disableAllTools();
              cornerstoneTools.highlight.activate(element, 1);
            });

Feature Request: Touch Panel Gestures

I would like touch panel gestures, important ones to me are;

  • Pinch to zoom in and out
  • windows and level mode
  • Some ways of going through CT stacks

Probably need a row of small gesture mode change buttons...

More esoteric ones are

  • Re-order the images, shuffling. This however will require much thoughts since if you allow this, then you would want to do this in the entire study, so how would you shuffle a 138 image study easily...

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.