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
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:
- Providing an example "Custom Tool" for Cornerstone Tools v3+
- Providing an example Cornerstone.js Market free listing
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.
💡 Feature Requests
Please file an issue to suggest new features. Vote on feature requests by adding
a
❓ 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!