Search found 11 matches

by gritter
2013-08-02T13:18:03-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

fmw42 wrote:Do you have a multi-core processor and OpenMP enabled?
Yes (2 cores on this box), and I am guessing no, since my CPU monitor only goes up to 50%.

It's not particularly important though, since I was hoping to run several instances in parallel.
by gritter
2013-08-02T09:55:09-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

Again, I apologise for the delay. Is it too slow even use the two pass vertical then horizontal -compose blur? I tested the 2-pass technique and it took ~7 seconds on the street image, which is a huge improvement in speed. I will have to test it on some real images to determine whether it is fast ...
by gritter
2013-07-15T10:08:03-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

I apologise for not posting for a while, IRL stuff came up etc.

I also appreciate everyone's input in this thread, it was very helpful having all the different ideas. But for my purposes the solutions offered are just too slow so I will have to shelf the project until I can find a solution.
by gritter
2013-07-01T14:39:55-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

Did you see my comment above that if you use -compose blur and set one dimension to 0, it runs very quickly. I showed a result. Most of your pictures did not show up. So I am not sure what you did in PS. Nevertheless, as above, you can achieve a similar result in a timely manner with -compose blur ...
by gritter
2013-07-01T04:36:27-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

Second. The photo is not really a good one for tile shift. Granted. But as I previously stated I am simply shooting for a "proof of concept" of the blurring effect that runs quickly, rather than trying to achieve anything of final quality; but you are right, careful selection is important for the ...
by gritter
2013-07-01T04:22:55-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

Can you identify the steps and values you used in photoshop? I tried to blur in PS using the lens blur and used your mask to composite the blurred and original and cannot reproduce your result? Absolutely: Firstly, open the source image and the mask image in Photoshop, copy the mask image to the ...
by gritter
2013-06-30T14:04:46-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

However, there might be mileage in creating two (or more) blurred images. The final image, from the top down, would blend between the greater blur and lesser blur, then the lesser blur to sharp, then sharp to lesser blur, and finally lesser blur to greater blur. I had a similar thought, effectively ...
by gritter
2013-06-30T12:16:46-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

I think FFT is currently limited to square images. If that is the case then that would explain why my attempt at using it failed. I do not see the source image, only the mask and the results provided by the OP. So I cannot generate a result as explained below. There is no need to use -compose blur ...
by gritter
2013-06-29T15:20:25-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

Using Anthony's code on your image on a windows 7 pc took about 4 seconds: convert "C:\Users\Administrator\Pictures\street.jpg" -sigmoidal-contrast 15x30% ( +clone -sparse-color Barycentric "0,0 black 0,%h gray80" -solarize 50% -level 50%,0 ) -compose Blur -set option:compose:args 5 -composite "C ...
by gritter
2013-06-29T14:08:21-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Re: Tilt Shift

Bonzo wrote:Anthony has an example of tilt-shift on his website - check it out it may be what you are looking for.
I should perhaps have cited that as what I based my working example on, it is far too slow.
by gritter
2013-06-29T13:24:35-07:00
Forum: Users
Topic: Tilt Shift
Replies: 27
Views: 12166

Tilt Shift

Hi guys, I am trying to produce a tilt-shift effect in ImageMagick via the command line but I am having some problems. My set up: ImageMagick-6.7.6-1 (Windows) This is a custom build with FFT compiled in, downloaded from here . Ultimately I will be exec()'ing this from PHP, but it essentially a ...