DeepMicroscopy / SlideRunner

SlideRunner is a tool for massive cell annotations in whole slide images
GNU General Public License v3.0
75 stars 10 forks source link

minor usability enhancement: dragging lags when dragging across patches #10

Closed mingrui closed 6 years ago

mingrui commented 6 years ago

This is related to: https://github.com/maubreville/SlideRunner/issues/2

It's a minor problem, hoping for an enhancement if you have the time for it. It's now much faster when dragging, but one problem I encountered is when dragging across patches.

Within a patch, the dragging is smooth, but pass a certain line across another patch, it lags a little bit (I assume its loading the very high resolution patch). Maybe change it to load a low resolution zoom level first to avoid the jarring jumping effect. Here is a video to better explain: https://drive.google.com/open?id=1yFCt99kQ-8GWVZ1vvA7AXRdgtjkS03m0

maubreville commented 6 years ago

The general structure of the software does not have loading of the image in a separate thread, I could include this, however, it would complicate the SW a bit.

I added a caching mechanism that would cache the current patch and the surrounding whenever idle.

mingrui commented 6 years ago

I just tried the update and think it's much improved. Most of the time I'm using the highest zoom level and dragging around is much better than before. Thanks for the update!

maubreville commented 6 years ago

I feel that this issue might not really be solved, but I do not see an easy and architecturally simple way to do it. If you feel that this is important for you, feel free to reopen the issue.