A method of manufacturing an emboli filter membrane having a three-dimensional (3D) structure from a sheet of fabric made from at least of strand and a device comprising such filter membrane. The filter membrane is manufactured using a mold made from two parts, a first part having a cavity in the shape of the three-dimensional structure surrounded by a first surface, a second part having a protrusion in the shape of the three-dimensional structure surrounded by a second surface. When the mold is closed there is a space between a surface of the cavity and a surface of the protruding portion.