I need to run local adaptive threshold(-lat) method in MiniMagick. 

I tried with the following code:

`image.lat '50x50'`

Its give an error stack level too deep when image.write 'output.jpg' is run. 
![lat operator](https://i.stack.imgur.com/lyydW.png)

Can anyone suggest a way to use (-lat) method in MiniMagick.