Smooth Best leaves artefacts after rotation
Smooth Best leaves artefacts after rotation
I am doing some clean-up job now, and I have discovered a sad fact, that there is no good way to rotate a drawing without loosing too much of the line quality... Both Transform tool and Cut-Brush tool have Smooth settings (on Transform tool it's called AAliasing). Both have the same issue - If I set the smooth factor to None, the line gets crumbled after rotation. If I set Medium - it's Ok, but appears too much blurred. If I set Best (which I expect to do the job) - then the line creates artifacts all around it. I am attaching a very simple example of this issue. I don't know if it was addressed before, cause I didn't find anything specific in the forums and I don't know also if it was fixed in version 10 (I'm on 9.5).
I have developed a workaround, which consumes a bit more time, but it works: I set the FloodFill tool to Erase and then just erase all the artifacts with it.
Please advise me - is there a way to do it better?
Here you can see a simple example of the rotations of an original drawing on the left - it might seem Ok on this zoom level. But here is a zoomed-in fragment of the 'Best' setting, and look at all the artifacts on the edges, and inside the line... It might appear not a big deal, but this is a cinema feature film I'm working on, and it will be on 35 mm film (!) and those artifacts can become visible on a big screen... And here is the result after using the FloodFill to erase the artifacts - the problem here is that the artifacts INSIDE the line still remain...
I have developed a workaround, which consumes a bit more time, but it works: I set the FloodFill tool to Erase and then just erase all the artifacts with it.
Please advise me - is there a way to do it better?
Here you can see a simple example of the rotations of an original drawing on the left - it might seem Ok on this zoom level. But here is a zoomed-in fragment of the 'Best' setting, and look at all the artifacts on the edges, and inside the line... It might appear not a big deal, but this is a cinema feature film I'm working on, and it will be on 35 mm film (!) and those artifacts can become visible on a big screen... And here is the result after using the FloodFill to erase the artifacts - the problem here is that the artifacts INSIDE the line still remain...
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
Re: Smooth Best leaves artefacts after rotation
In fact, the problem in your example is the original object, which is already pixelized.
Smooth Medium and Best apply a blur (+ other complicated calculation), in order to be be as possibly true as the original object.
In your case, using Medium and Best are not necessary, as your original object is already pixelized.
If you need to rotate something more complicated, those options will be very handy :
Smooth Medium and Best apply a blur (+ other complicated calculation), in order to be be as possibly true as the original object.
In your case, using Medium and Best are not necessary, as your original object is already pixelized.
If you need to rotate something more complicated, those options will be very handy :
Re: Smooth Best leaves artefacts after rotation
Indeed, I know it - it's the Pencil tool with a bit changed profile - it's the standard cleanup tool for this project. Yet I think the rotation could be enhanced.Elodie wrote:In fact, the problem in your example is the original object, which is already pixelized.
Look at the same line rotated in Photoshop:
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
Re: Smooth Best leaves artefacts after rotation
I just can not see a big difference between TVPaint (smooth : medium) and Photoshop
Fabrice Debarge
Re: Smooth Best leaves artefacts after rotation
Hmmm... well, maybe you are right... But then again - the 'best' setting becomes a bit confusing in this case...Fabrice wrote:I just can not see a big difference between TVPaint (smooth : medium) and Photoshop
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
Re: Smooth Best leaves artefacts after rotation
"Best" is sharpening the images a little bit.
It explains the artifacts on your drawings (mostly line work), but it gives better results on photos.
It explains the artifacts on your drawings (mostly line work), but it gives better results on photos.
Fabrice Debarge
Re: Smooth Best leaves artefacts after rotation
Thanks. Probably that answers my questions.Fabrice wrote:"Best" is sharpening the images a little bit.
It explains the artifacts on your drawings (mostly line work), but it gives better results on photos.
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
Re: Smooth Best leaves artefacts after rotation
The point is not "no difference between medium and PS", the point is "best is adding artefacts". The original line doesn't have any pixels of different colour, or holes, inside the line, so I wouldn't expect TVP to add any.
I did some tests on my own, and it seems to me that TVP is applying some kind of "sharpening" filter in "best" mode. Am I right? In that case, artifacts may be expected in all coloured lines which are not black or white, because in those two extremes the "sharpening" filter wouldn't be visible inside the line - you can't be blacker than black.
Here's some 800% enlargement of the result of turning a grey line on grey in "best" quality. Left is original: solid colour areas inside and outside the pencil stroke. Right: the sharpening along the edges is cearly visible, but also the pixel noise inside what should be uniform colour areas. I wonder if this could be avoided by changing that filter into a "sharpen edges only" mode? And maybe also rename the "best" option to "with sharpening" or similar, to indicate that there's an additional filter applied?
Soom: I was quite obsessed with a crisp pencil line when I started with TVP, and also noticed the blurring which occured after each operation with scale or rotate. But I learnt that nobody would notice in the final scene, when everything was coloured and moving. I happily have crisp and blurred lines in the same or consecutive frames, and it doesn't show, normally. Only in very fine detail it may be noticeable, and if it's really necessary, I just apply the Scan Cleaner. Another trick would be to colour your lines black first, do the rotation, then colour it back to what it was (or draw with plain black lines anyway).
I did some tests on my own, and it seems to me that TVP is applying some kind of "sharpening" filter in "best" mode. Am I right? In that case, artifacts may be expected in all coloured lines which are not black or white, because in those two extremes the "sharpening" filter wouldn't be visible inside the line - you can't be blacker than black.
Here's some 800% enlargement of the result of turning a grey line on grey in "best" quality. Left is original: solid colour areas inside and outside the pencil stroke. Right: the sharpening along the edges is cearly visible, but also the pixel noise inside what should be uniform colour areas. I wonder if this could be avoided by changing that filter into a "sharpen edges only" mode? And maybe also rename the "best" option to "with sharpening" or similar, to indicate that there's an additional filter applied?
Soom: I was quite obsessed with a crisp pencil line when I started with TVP, and also noticed the blurring which occured after each operation with scale or rotate. But I learnt that nobody would notice in the final scene, when everything was coloured and moving. I happily have crisp and blurred lines in the same or consecutive frames, and it doesn't show, normally. Only in very fine detail it may be noticeable, and if it's really necessary, I just apply the Scan Cleaner. Another trick would be to colour your lines black first, do the rotation, then colour it back to what it was (or draw with plain black lines anyway).
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
Re: Smooth Best leaves artefacts after rotation
yep, I just wrote itI did some tests on my own, and it seems to me that TVP is applying some kind of "sharpening" filter in "best" mode. Am I right? In that case, artifacts may be expected in all coloured lines which are not black or white, because in those two extremes the "sharpening" filter wouldn't be visible inside the line - you can't be blacker than black.
Fabrice Debarge
Re: Smooth Best leaves artefacts after rotation
Ah, but I am actually drawing with black - the yellow was only used for clearer example in this post.slowtiger wrote: Soom: I was quite obsessed with a crisp pencil line when I started with TVP, and also noticed the blurring which occured after each operation with scale or rotate. But I learnt that nobody would notice in the final scene, when everything was coloured and moving. I happily have crisp and blurred lines in the same or consecutive frames, and it doesn't show, normally. Only in very fine detail it may be noticeable, and if it's really necessary, I just apply the Scan Cleaner. Another trick would be to colour your lines black first, do the rotation, then colour it back to what it was (or draw with plain black lines anyway).
Even in a black line there appear artifacts inside the line after rotation with 'best' setting. Those artifacts are not actually a brighter color, but part of the alpha channel, because I draw on transparent layer. Therefore the artifacts will stay even if I paint over with black again, cause alpha always stays, unless I do some other complicated manipulations.
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
Re: Smooth Best leaves artefacts after rotation
Maybe can the "FX > Keying > Alpha Control" help you.Soom wrote:Ah, but I am actually drawing with black - the yellow was only used for clearer example in this post.slowtiger wrote: Soom: I was quite obsessed with a crisp pencil line when I started with TVP, and also noticed the blurring which occured after each operation with scale or rotate. But I learnt that nobody would notice in the final scene, when everything was coloured and moving. I happily have crisp and blurred lines in the same or consecutive frames, and it doesn't show, normally. Only in very fine detail it may be noticeable, and if it's really necessary, I just apply the Scan Cleaner. Another trick would be to colour your lines black first, do the rotation, then colour it back to what it was (or draw with plain black lines anyway).
Even in a black line there appear artifacts inside the line after rotation with 'best' setting. Those artifacts are not actually a brighter color, but part of the alpha channel, because I draw on transparent layer. Therefore the artifacts will stay even if I paint over with black again, cause alpha always stays, unless I do some other complicated manipulations.
Fabrice Debarge
Re: Smooth Best leaves artefacts after rotation
I have also experienced a similar "issue" when I cleaned up some drawing. The artifacts also occur when you just move the line without rotating it -with smooth set on "best". I attached two screenshots of the moved line. It appears that there is a 1 pixel gap between the black line and the artifact line (I hope you can see it).
The way I get rid of the artifacts is to use the "custom brush: magic wand" with range set to 25 and then just cut those artifacts away. Of course this only works when you have lines.
It is not a big issue I guess because you can hardly see the artifacts. I was just wondering, if this could somehow be resolved as there appears to be a 1 pixel gap between the line and the artifacts. They don't really stick to to the line.
The way I get rid of the artifacts is to use the "custom brush: magic wand" with range set to 25 and then just cut those artifacts away. Of course this only works when you have lines.
It is not a big issue I guess because you can hardly see the artifacts. I was just wondering, if this could somehow be resolved as there appears to be a 1 pixel gap between the line and the artifacts. They don't really stick to to the line.
- Attachments
-
- tvpaint transform.jpg (52.35 KiB) Viewed 26929 times
-
- tvpaint transform2.jpg (61.62 KiB) Viewed 26929 times
MAC OS 12.6.2 - TVpaint 11.7.1 PRO 64bit, Wacom Intuos Pro
Re: Smooth Best leaves artefacts after rotation
After I've started this post I was experimenting a bit more with the transformations and found out, that if you don't need to rotate the object, then the best thing is turn the smoothing off at all - it will give the most precise result. Another thing is moving the object by entering EXACT amount of pixels in the Transform panel. The gray outline appears when you move your object with the mouse and do not use exact pixels. It is true also to all other graphic software.furushil wrote:I have also experienced a similar "issue" when I cleaned up some drawing. The artifacts also occur when you just move the line without rotating it -with smooth set on "best". I attached two screenshots of the moved line. It appears that there is a 1 pixel gap between the black line and the artifact line (I hope you can see it).
The way I get rid of the artifacts is to use the "custom brush: magic wand" with range set to 25 and then just cut those artifacts away. Of course this only works when you have lines.
It is not a big issue I guess because you can hardly see the artifacts. I was just wondering, if this could somehow be resolved as there appears to be a 1 pixel gap between the line and the artifacts. They don't really stick to to the line.
In any case never use the "best" setting when you need only to move the object - it will apply some blur/sharpen filter anyway.
Now if you need to rotate the object, then you might want to use the best setting...
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
Re: Smooth Best leaves artefacts after rotation
I will take the oppertunity to post a link to this feature request
viewtopic.php?f=21&t=5601
It is a new smooth option called "auto" for the tools using smooth. Transform. custombrush.
The idea is if theres is no rotaton or scale the smooth will be none else it will be best.
viewtopic.php?f=21&t=5601
It is a new smooth option called "auto" for the tools using smooth. Transform. custombrush.
The idea is if theres is no rotaton or scale the smooth will be none else it will be best.
Re: Smooth Best leaves artefacts after rotation
Thanks, this is a great request!madsjuul wrote:I will take the oppertunity to post a link to this feature request
viewtopic.php?f=21&t=5601
It is a new smooth option called "auto" for the tools using smooth. Transform. custombrush.
The idea is if theres is no rotaton or scale the smooth will be none else it will be best.
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas