informatics-isi-edu / synspy

Synaptic segmentation and visualization with fluorescence microscopy
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Drag a larger brush or disk to classify puncta en masse in 2d viewer #18

Closed karlcz closed 7 years ago

karlcz commented 7 years ago

Users would like to quickly classify multiple adjacent puncta by painting a region coarsely with the mouse. It was suggested that a 5-10 micron diameter disk might be appropriate, and that separate controls to paint positive and negative classification decisions would be useful, i.e. positive via primary/left mouse and negative via secondary/right mouse button drags. An example use case is to quickly paint over an auto-fluorescing skin region or the halo around a nuclei that otherwise looks like many synapse-scale puncta.

@BDemps

BDemps commented 7 years ago

Oops, I just submitted an issue at the same time as receiving this. We were thinking the same thing!

On Jun 1, 2017 5:18 PM, "Karl Czajkowski" notifications@github.com wrote:

Users would like to quickly classify multiple adjacent puncta by painting a region coarsely with the mouse. It was suggested that a 5-10 micron diameter disk might be appropriate, and that separate controls to paint positive and negative classification decisions would be useful, i.e. positive via primary/left mouse and negative via secondary/right mouse button drags. An example use case is to quickly paint over an auto-fluorescing skin region or the halo around a nuclei that otherwise looks like many synapse-scale puncta.

@BDemps https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_bdemps&d=DwMCaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=Lssj6JKak_DaRnExGYcKnQ&m=eaoCe0W57MAeVCVHb-3dFouvrMQ3nsvAt9UKLchcdXk&s=VW6zpDO2YXTFGKK9xySgviEqY9Q2OrG15dCtgat4upc&e=

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_informatics-2Disi-2Dedu_synspy_issues_18&d=DwMCaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=Lssj6JKak_DaRnExGYcKnQ&m=eaoCe0W57MAeVCVHb-3dFouvrMQ3nsvAt9UKLchcdXk&s=tqXThB7PkHKpQh2faD3PhfHqfsT7HB5aOUi4YZEQ8Es&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AbQStxz3QB24OdYvjXcYynLfeJFOeog2ks5r-5F1TPgaJpZM4NtsVP&d=DwMCaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=Lssj6JKak_DaRnExGYcKnQ&m=eaoCe0W57MAeVCVHb-3dFouvrMQ3nsvAt9UKLchcdXk&s=ecuqqUtJAiAf6TyERxUKvnBiLeNnwtML5c8BZbwqvG0&e= .

karlcz commented 7 years ago

I've committed an experimental feature to paint multiple segments via mouse drags.

The UX should be self-explanatory once you try dragging with primary and secondary mouse buttons. A circular region is highlighted in inverted colors beneath the mouse, and all segments in that region get set as either features or non-features depending on which button is held during the drag.

Individual non-dragging clicks still behave as before, but if your mouse is too sensitive it may be difficult to use this feature without accidentally activating the painting mode.

karlcz commented 7 years ago

User testing suggested using different radii for the positive and negative paint modes, so it now uses approximately half the radius for the positive mode.