Search found 3 matches

by bluedxca93
2015-04-04T04:04:44-07:00
Forum: Users
Topic: How to speed up an advanced threshold filter? ( -lat + median)
Replies: 4
Views: 2716

Re: How to speed up an advanced threshold filter? ( -lat + median)

Hi,
closest equivalent of the lua script in imagemagick:

convert -page +1+1 test.png -background none -flatten test2.png ;
convert test.png test2.png -compose difference -composite -colorspace RGB -threshold 254 difference_gray.png

About four times faster than lua script above!
No fx functions ...
by bluedxca93
2015-04-03T10:12:58-07:00
Forum: Users
Topic: How to speed up an advanced threshold filter? ( -lat + median)
Replies: 4
Views: 2716

Re: How to speed up an advanced threshold filter? ( -lat + median)

Hi,
thx for the tips. it seems to be indeed working faster with:
20x20-1.5
on smaller pictures.

Example picture : 50% of original size:
http://s15.postimg.org/p6j0yue0r/test_f.jpg

Next is not blurred in original:
http://www.pictureupload.de/originals/pictures/030415184807_out2-f.jpg .

As you ...
by bluedxca93
2015-04-03T02:46:52-07:00
Forum: Users
Topic: How to speed up an advanced threshold filter? ( -lat + median)
Replies: 4
Views: 2716

How to speed up an advanced threshold filter? ( -lat + median)

Hi,
found an image filter that does nearly the thing i want to do:

convert input.jpg -colorspace Gray -lat 35x35-1.8% -median 3x3 -morphology Dilate Plus:2 output.jpg

That command is already relatively fast and can output interesting images.

As you might notice its not exactly an image detector ...