Skip to content

Commit

Permalink
Switch /chafey/ references to /cornerstonejs/
Browse files Browse the repository at this point in the history
  • Loading branch information
swederik committed Dec 6, 2017
1 parent a1e77ab commit bc8040a
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 29 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Live Examples

The best way to see the power of this library is to actually see it in use. A number of live examples are
included that are not only useful but also show how to use dicomParser.
[Click here for a list of all live examples](https://rawgithub.com/chafey/dicomParser/master/examples/index.html)
Make sure you try out the [DICOM Dump with Data Dictionary](https://rawgit.com/chafey/dicomParser/master/examples/dumpWithDataDictionary/index.html)
[Click here for a list of all live examples](https://rawgithub.com/cornerstonejs/dicomParser/master/examples/index.html)
Make sure you try out the [DICOM Dump with Data Dictionary](https://rawgit.com/cornerstonejs/dicomParser/master/examples/dumpWithDataDictionary/index.html)
which is a very useful tool and excellent example of most features.

Community
Expand All @@ -27,8 +27,8 @@ Install

Get a packaged source file:

* [dicomParser.js](https://raw.githubusercontent.com/chafey/dicomParser/master/dist/dicomParser.js)
* [dicomParser.min.js](https://raw.githubusercontent.com/chafey/dicomParser/master/dist/dicomParser.min.js)
* [dicomParser.js](https://raw.githubusercontent.com/cornerstonejs/dicomParser/master/dist/dicomParser.js)
* [dicomParser.min.js](https://raw.githubusercontent.com/cornerstonejs/dicomParser/master/dist/dicomParser.min.js)

Or install via [NPM](https://www.npmjs.com/):

Expand Down Expand Up @@ -70,16 +70,16 @@ catch(ex)
}
```

[See the live examples for more in depth usage of the library](https://rawgithub.com/chafey/dicomParser/master/examples/index.html)
[See the live examples for more in depth usage of the library](https://rawgithub.com/cornerstonejs/dicomParser/master/examples/index.html)

Note that actually displaying DICOM images is quite complex due to the variety of pixel formats and compression
algorithms that DICOM supports. If you are interested in displaying images, please take a look at the
[cornerstone library](https://github.com/chafey/cornerstone) and the
[cornerstoneWADOImageLoader](https://github.com/chafey/cornerstoneWADOImageLoader) which uses this
[cornerstone library](https://github.com/cornerstonejs/cornerstone) and the
[cornerstoneWADOImageLoader](https://github.com/cornerstonejs/cornerstoneWADOImageLoader) which uses this
library to extract the pixel data from DICOM files and display the images with
[cornerstone library](https://github.com/chafey/cornerstone).
[cornerstone library](https://github.com/cornerstonejs/cornerstone).
You can find the actual code that extracts grayscale pixel data using this library
[here](https://github.com/chafey/cornerstoneWADOImageLoader/blob/master/src/makeGrayscaleImage.js).
[here](https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/master/src/makeGrayscaleImage.js).

Options
-------
Expand Down Expand Up @@ -195,7 +195,7 @@ Contributors
Why another Javascript DICOM parsing library?
============================================

While building the WADO Image Loader for [cornerstone](https://github.com/chafey/cornerstone), I couldn't find a Javascript DICOM parser that exactly met
While building the WADO Image Loader for [cornerstone](https://github.com/cornerstonejs/cornerstone), I couldn't find a Javascript DICOM parser that exactly met
my needs. DICOM really isn't that hard to parse so I figured I would just make my own. Here are some of the key things that I
really wanted out of a DICOM library that I am hoping to deliver:

Expand Down Expand Up @@ -356,8 +356,8 @@ Copyright 2016 Chris Hafey [[email protected]](mailto:[email protected])
[npm-version-image]: http://img.shields.io/npm/v/dicom-parser.svg?style=flat
[npm-downloads-image]: http://img.shields.io/npm/dm/dicom-parser.svg?style=flat

[travis-url]: http://travis-ci.org/chafey/dicomParser
[travis-image]: https://travis-ci.org/chafey/dicomParser.svg?branch=master
[travis-url]: http://travis-ci.org/cornerstonejs/dicomParser
[travis-image]: https://travis-ci.org/cornerstonejs/dicomParser.svg?branch=master

[coverage-url]: https://coveralls.io/github/chafey/dicomParser?branch=master
[coverage-image]: https://coveralls.io/repos/github/chafey/dicomParser/badge.svg?branch=master
[coverage-url]: https://coveralls.io/github/cornerstonejs/dicomParser?branch=master
[coverage-image]: https://coveralls.io/repos/github/cornerstonejs/dicomParser/badge.svg?branch=master
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Version 1.7.6

- Add an example of DICOM PDF parsing and display (https://rawgit.com/chafey/dicomParser/master/examples/encapsulatedPDF/index.html) (thanks @andrebot)
- Add an example of DICOM PDF parsing and display (https://rawgit.com/cornerstonejs/dicomParser/master/examples/encapsulatedPDF/index.html) (thanks @andrebot)
- Fix module name in webpack (thanks @adreyfus)
- Fix import / export extensions for use as a native ES6 module (thanks @kofifus)
4 changes: 2 additions & 2 deletions dist/dicomParser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/dicomParser.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dicomParser.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dicomParser.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1>dicomParser Examples</h1>

<br>

<a href="https://rawgithub.com/chafey/dicomParser/master/examples/index.html">Click here
<a href="https://rawgithub.com/cornerstonejs/dicomParser/master/examples/index.html">Click here
to view this page live on github</a>


Expand Down
2 changes: 1 addition & 1 deletion examples/meteorTestApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Example of using the dicom parser from meteor. You can access this application

````sh
# Should be as simple as cloning the repository....
git clone https://github.com/chafey/dicomParser.git
git clone https://github.com/cornerstonejs/dicomParser.git

# And then running it...
cd examples/meteorTestApp
Expand Down
2 changes: 1 addition & 1 deletion examples/meteorTestApp/meteorTestApp.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<body>
<h1>Drag and Drop DICOM P10 File below</h1>

<a href="https://github.com/chafey/dicomParser/tree/master/examples/meteorTestApp">See the source code for this example</a>
<a href="https://github.com/cornerstonejs/dicomParser/tree/master/examples/meteorTestApp">See the source code for this example</a>

{{> dropZone }}

Expand Down
2 changes: 1 addition & 1 deletion meteor/dicomParser/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package.describe({
name: 'chafey:dicom-parser',
summary: 'Javascript parser for DICOM Part 10 data',
version: '1.7.3',
git: 'https://github.com/chafey/dicomParser.git/',
git: 'https://github.com/cornerstonejs/dicomParser.git/',
documentation: null
});

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"imaging"
],
"author": "Chris Hafey",
"homepage": "https://github.com/chafey/dicomParser",
"homepage": "https://github.com/cornerstonejs/dicomParser",
"license": "MIT",
"module": "src/index.js",
"bugs": {
"url": "https://github.com/chafey/dicomParser/issues"
"url": "https://github.com/cornerstonejs/dicomParser/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/chafey/dicomParser.git"
"url": "https://github.com/cornerstonejs/dicomParser.git"
},
"scripts": {
"eslint": "eslint -c .eslintrc.js src",
Expand Down
2 changes: 1 addition & 1 deletion src/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const isStringVr = (vr) => stringVrs[vr];
* @returns {boolean}
*/
const isPrivateTag = (tag) => {
const lastGroupDigit = parseInt(tag[4]);
const lastGroupDigit = parseInt(tag[4], 10);
const groupIsOdd = (lastGroupDigit % 2) === 1;


Expand Down

0 comments on commit bc8040a

Please sign in to comment.