kyamagu / js-segment-annotator

Javascript image annotation tool based on image segmentation.
BSD 3-Clause "New" or "Revised" License
522 stars 159 forks source link

Better annotation display #37

Open jerem-lab opened 5 years ago

jerem-lab commented 5 years ago

Hi, Thanks for this awesome tool. May I propose an improvement in order to speed up the annotation process. I saw this in other tools and it was really efficient : the possibility to display raw images only in already annoted zones. I put below two examples of vegetation / soil annotation.

Only vegetation toto

Only soil: tata

I checked your code but Im not so familiar with images overlay with javascript and I failed to display annotations with alpha = 1. Could you give me an advice ?

kyamagu commented 5 years ago

@jerem-lab Well, currently this tool does not implement masking for images. You will need to rewrite visualization implementation.

See how visualization gets color.

kaaviyave commented 5 years ago

@kyamagu Hi ! Thanks for the advice. I am also working on the same problem and it would be really helpful if you could point where to change the order of the image layer and annotation layer rendered on the "canvas.segment-annotator-layer" div.

kyamagu commented 5 years ago

@kaaviyave All the initialization happen inside the constructor.