displayed pick doesn't go large with zoom in
Hi I try to use gui to pick particle. However, the display pick circle doesn't go larger when I zoom in the figure. (I use firefox) Is there any way to solve this issue?
Hello,
This is currently the normal/expected behavior of the GUI. As Topaz GUI is based on VIA and that part of the code is quite convoluted, I have put in a request to the VIA developers here:
https://gitlab.com/vgg/via/issues/186
If they add that feature, I will transfer it to the Topaz GUI.
Best, Alex Noble
The VIA developers say this will be added in the next version. Stay tuned!
I also want this feature. In addition, it would be nice if one can change the circle diameter. Finding a right particle radius for training and extraction would be easier.
We would also like these features, but unfortunately we are not web or GUI developers. It took about a month to get the GUI to where it is from where it began as VIA and there things I want to code into it that I don't know how. If anyone wants to add these features, please do so and make a push request.
A user-side hack to change the circle size is to open Developer Tool (in Chrome for Firefox) and run VIA_REGION_POINT_RADIUS = 10 (in pixels) and click somewhere.
For zoom-in, one has to modify the _via_draw_point function:
function _via_draw_point(cx, cy, r) {
_via_reg_ctx.beginPath();
_via_reg_ctx.arc(cx, cy, r / _via_canvas_scale, 0, 2*Math.PI, false);
_via_reg_ctx.closePath();
}
The remaining task is to add a field in the setting tab.
I will make a pull request when I have time.