Delays in 'Paint' function using Wacom Cintiq22

We’are using a Wacom Cintiq 22. and 3D slicer for 3D segmentation job for our research.
Thank your for your great effort for the great software.

In your 3D slicer version 4.11.20210226, if we use the ‘Paint’ function with a Wacom pen in the Segmentation Editor, delay occurs like the attached picture.
In 3D slicer 4.10.2, this delay of the ‘paint’ function does not occur when using a same Wacom pen.

Could it be solved in the next versions?

Thank you.

We’are using a Wacom Cintiq 22. and 3D slicer for 3D segmentation job for our research.
Thank your for your great effort for the great software.

In your 3D slicer version 4.11.20210226, if we use the ‘Paint’ function with a Wacom pen in the Segmentation Editor, delay occurs like the attached picture.

image

In 3D slicer 4.10.2, this delay of the ‘paint’ function does not occur when using a same Wacom pen.

Could it be solved in the next versions?

Thank you.

I cannot reproduce any delay using a Surface Pen:

Current Surface Pens are excellent and you can also use a Wacom Bamboo Ink. They cost less than $100 and allow you to draw on compatible screens similarly to the expensive Wacom Cintiq (the Cintiq costs 15x more).

If you want to stick to the Wacom Cintiq then there are a few things to try.

You can try to adjust your Wacom settings or follow tutorials on the web on how to reduce Wacom pen lag (such as this page).

Try the latest Slicer Preview Release, there have been many fixes and improvements since 4.11.20210226.

You can also try if adjusting event processing settings make a difference. Copy-paste this code snippet into the Python console (Ctrl+3) in Slicer and see if Paint effect performance is improved in the Red slice view:

paint=slicer.modules.segmenteditor.widgetRepresentation().self().editor.effectByName("Paint")
paint.delayedPaint=True
paint.minimumPaintPointDistance=20

Enabling event compression for tablet events (Qt::AA_CompressHighFrequencyEvents, Qt::AA_CompressTabletEvents - see here) in Slicer source code might help with this issue, too, but you would need to build Slicer from source code to try this.

This has been reported by another user some time ago, but then the correspondence stopped, so we closed the issue:

I’ve now tested a recent Slicer Preview Release (Slicer-4.13-2021-10-05) With a Wacom Intuos BT M tablet on Windows 10 and everything worked perfectly. The only thing that did not work with the default configuration was right-click zoom in views - for that I had to disable “Windows Ink” mode.