This paper offers a Topology Optimization (TO) method to replace conventional parameter optimization, which is a common method for electrical machine's or electromagnetic device's design optimization. In most of the final designs gained with TO, there are challenges in the manufacturing process using the nowadays available manufacturing technologies. Therefore, this work investigated the approach on two tasks, in the first level a global optimization method, called Enhanced Binary Genetic Algorithm is applied to the design domain. After optimization with this meta-heuristic method, some holes inside the structure or some spread iron cells appear. This drawback will be improved in the second level by one of the image processing methods, called Morphological Reconstruction, to gain a smoother shape to reduce the manufacturing complexities while reaching reasonable technical characteristics. The goal is to find a lighter weight of the structure while preserving the force in a suited amount. The proposed method is applied to an E-core actuator as a case study. After using the proposed hybrid optimization method, air cells appear around some parts of the actuator's coil, which are used to extend the copper areas, so that the magnetic force considerably increases. In general, it is possible to extend the method to different active parts of the electrical machines.