ivmartel / dwv

DICOM Web Viewer: open source zero footprint medical image library.
https://ivmartel.github.io/dwv/
GNU General Public License v3.0
1.67k stars 593 forks source link

Add annotation tool #64

Closed ivmartel closed 8 years ago

ivmartel commented 11 years ago

A tool to add text annotation to images.

m-a-r-i-a commented 8 years ago

This would be a great enhancement. As I noticed, you opened this issue in 2013. Are you still planning to add this feature?

Thanks for your answer.

Maria

ivmartel commented 8 years ago

Yes, just got caught in other tasks... But always open to pull requests!

rafasoyyo commented 8 years ago

Hi,

I have done this function on my fork, you can see it here: https://github.com/rafasoyyo/dwv/blob/master/src/tools/draw.js#L712

Feel free to use it!

ivmartel commented 8 years ago

Started integration on 64-annotation branch.

ivmartel commented 8 years ago

Ok, took some time... I just merged the branch in f981c11. Kept the double click to activate. All shapes are created with a (kinetic) label so that there is no need to create at edit time. I made the quantification part of the annotation using pseudo variables, for example {length} for the line or {surface} for 2D shapes.

ivmartel commented 8 years ago

Closing for now. Feel free to reopen if needed!