Chin Rey |
A quick question - or possibly a very complicated one...
![]() I need to split an image into several horizontal strips of uneven heights and process each of them separately. There must be a million ways to do the splitting in Filter Forge but which of them is the most efficient? |
|||||
Posted: June 4, 2017 2:07 am | ||||||
chrisd
Posts: 51 |
I did a search for "scanline" in existing filters. There are quite a few, maybe some of them use a method that is close to what you are looking for.
I noticed that the rendering option "Anti-alias sources for bitmap-based components" has a huge impact on the rendering time for certain filters. In particular Wavy Neon Lines, it goes from 10 seconds when off to 90 seconds when on for the default preset. |
|||||
Posted: June 4, 2017 11:48 am | ||||||
xirja
![]() |
Lookup would be my guess. Maybe Free Rectangle to Threshold. rgba is 4 channels, so if you can eliminate the alpha, it'll be faster as it is only 3. This might help: https://www.filterforge.com/wiki/index..._for_Speed
_____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|||||
Posted: June 4, 2017 6:46 pm | ||||||
chrisd
Posts: 51 |
Thanks for that, I have a look at the wiki. I have a lot to learn, but having an active forum as this seems to be will help a lot.
|
|||||
Posted: June 4, 2017 8:22 pm | ||||||
CFandM
![]() |
As xirja said the free rectangle and threshold works...Are you doing this for one image or is this for a part of a bigger filter...Then do you want to control each strip individual or have them size automatically?......Here is a simple one using free profile grad and threshold....
![]() Stupid things happen to computers for stupid reasons at stupid times! |
|||||
Posted: June 4, 2017 10:28 pm | ||||||
CFandM
![]() |
Here ia simple version with one strip that can be adjusted manually... This is for FF6... Simple Thing.ffxml Stupid things happen to computers for stupid reasons at stupid times! |
|||||
Posted: June 4, 2017 10:54 pm | ||||||
GMM
Moderator
Posts: 3491 |
The "Anti-alias sources" checkbox is effectively a "Slow me down" option. Please check the corresponding help section: https://filterforge.com/more/help/Opti...tions.html |
|||||
Posted: June 5, 2017 5:52 am | ||||||
Chin Rey |
It was more of a general question. It's a function that is useful for so many filters and I've needed it several times recently. I've seen several filters using a gradient and I think that is the most common method. A free gradient is listed as ultra-fast in the wiki but you have to run the output through a threshold component to get a sharp edge and that may slow it down.
Thank you. I have to look up the Lookup component, I'm not familar with it. I was actually trying to use a frame, scaled, squashed and with y offset the same way as you suggest we use the free rectangle. I suppose the rectangle is the better option. |
|||||
Posted: June 6, 2017 12:56 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,533 Posts
+38 new in 30 days!
15,348 Topics
+73 new in year!
11 unregistered users.