It is currently Sat Jun 13, 2026 5:37 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Plug-in Striped Selection.
PostPosted: Mon Dec 09, 2024 10:04 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Ver. 0.2
viewtopic.php?f=9&t=21324&sid=fa3541c59900cec1698853ab69faaf30#p292609

Ver.0.3.

At Rod's suggestion to add waves I used the plugin path-waves-0.2.py by Ofnuts.

Image

However, using this plugin fails (error 9 that I don't understand) when the "Belt width" value is small (~ less than 15) so I introduced a workaround by splitting the execution into parts which unfortunately increases the runtime.

Image

The TT version is split into several plugins so to avoid additional confusion my plugin is in a new thread.
I can add two options from the Ofnuts plugin (Wavelenght shift" and "Asymmetry") if anyone is interested.
Required plugin path-waves-0.2.py also attached.
For normal waves "Belt width" should be at least 2x"Amplitude" (otherwise the results may be interesting but difficult to predict) and it is always worth checking selection before running the plugin.
I had little time to write the code and test it - any feedback is welcome!

In memu: Select ➤ Striped Selection...


Attachments:
Striped Selections.png
Striped Selections.png [ 18.2 KiB | Viewed 1356 times ]
Striped Selection.zip [11.32 KiB]
Downloaded 78 times

_________________
Image
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Plug-in Striped Selection.
PostPosted: Mon Dec 23, 2024 4:50 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Ver.0.4.

Change:
-add cyclic rectangles and ellipses.

The new G'MIC (Patterns ➤ Stripes) filter will provide other possibilities:
viewtopic.php?f=4&t=5021&p=293982#p293932

Image


Attachments:
Rectangle.png
Rectangle.png [ 241.4 KiB | Viewed 1150 times ]
Ellipse.png
Ellipse.png [ 332.11 KiB | Viewed 1150 times ]
Striped Selection Ver.0.4.zip [3 KiB]
Downloaded 61 times

_________________
Image
Top
 Post subject: Re: Plug-in Striped Selection.
PostPosted: Mon Dec 30, 2024 9:49 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Ver. 0.5.

Changes:
add: 'Strip tilt (angle)' and 'Strip thickness correction' (these new features and 'Wawes' are not active for 'Circle' and 'Rectangle').
Working on a copy of the layer and no selection after the plug-in ends - automatically.

Image

Image

From Trandoductin's code only the idea remains (now the plugin uses more paths).

Required plugin path-waves-0.2.py by Ofnuts download from here:
https://sourceforge.net/projects/gimp-p ... s/scripts/


Attachments:
Striped S 0.5.png
Striped S 0.5.png [ 169.77 KiB | Viewed 1051 times ]
Striped Selection Ver.0.5.zip [2.79 KiB]
Downloaded 54 times

_________________
Image
Top
 Post subject: Re: Plug-in Striped Selection.
PostPosted: Tue Dec 31, 2024 1:35 am  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16026
Thanks for the update MareroQ! :)

_________________
Image


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group