YOUR ACCOUNT

Login or Register to post new topics or replies
Chin Rey
Posts: 13
Filters: 9
A quick question - or possibly a very complicated one... smile;-)

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?
  Details E-Mail
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.
  Details E-Mail
xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
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/
_____________________________________________________
  Details E-Mail
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.
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
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!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
xirja wrote:
Maybe Free Rectangle

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!
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Quote
chrisd wrote:
I noticed that the rendering option "Anti-alias sources for bitmap-based components" has a huge impact on the rendering time


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
  Details E-Mail
Chin Rey
Posts: 13
Filters: 9
Quote
CFandM wrote:
Are you doing this for one image or is this for a part of a bigger filter


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.

Quote
xirja wrote:
Lookup would be my guess. Maybe Free Rectangle to Threshold.


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.
  Details E-Mail

Join Our Community!

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!

Create an Account

Online Users Last minute:

11 unregistered users.