Skip to content

βš•οΈπŸ“Š A simple overlay tool that adds debugging information over the canvas #CornerstoneJS

License

Notifications You must be signed in to change notification settings

QSolutionsLLC/cornerstone-tool-image-statistics

Repository files navigation

Cornerstone Tools Plugin: Image Statistics

bar chart (emoji)

A very simple statistics tool plugin for CornerstoneJS


npm version CircleCI All Contributors PRs Welcome Code of Conduct

Watch on GitHub Star on GitHub Tweet

Image Statistics

This repository implements the "Image Statistics" tool that was available in CornerstoneTools v2, but removed in v3. It demonstrates how to implement the tool using version 3's "plugins".

This repository also serves as a very basic example and template for creating a listing on the Cornerstone.js Market.

Demo

GIF Example

You can play with this tool using the live example: here

Usage

Nothing crazy here. This tool is a class that extends cornerstone-tool's "BaseTool". It can be installed, added, and extended the same way as all 3rd party tools.

Install via NPM:

npm install @qsolutionsllc/cornerstone-tool-image-statistics --save

Import, add, and enable:

import ImageStatisticsTool from "@qsolutionsllc/cornerstone-tool-image-statistics";

// ...

cornerstoneTools.addTool(ImageStatisticsTool);
cornerstoneTools.setToolEnabled("ImageStatistics");

Contributing

This code is for educational purposes. If you feel it could be improved or made clearer to assist in:

Please do not hesitate to create an issue or a pull request with your questions, comments, enhancements, concerns, etc.

Resources

Issues

Looking to contribute? Look for the Good First Issue label.

πŸ› Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.

See Bugs

πŸ’‘ Feature Requests

Please file an issue to suggest new features. Vote on feature requests by adding a πŸ‘. This helps maintainers prioritize what to work on.

See Feature Requests

❓ Questions

For the time being, please feel free to open an issue. We'll provide a better avenue for communication moving forward ^_^

Contributors

Thanks goes to these wonderful people (emoji key):


Danny Brown

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

Releases

No releases published

Packages

No packages published