GMIC / Blur only vertical & horizontal lines

Hi
I was wondering if there is a way to achieve this effect with GMIC (scripting or plugin) : to blur vertical and horizontal line with a thickness and length as input threshold.

You can find info on blurs here: https://gmic.eu/reference.shtml#blur. blur_xy or blur_linear might work in your case.