Magnetic resonance imaging (MRI) is considered as a key part in therapeutic procedures because it clearly defines the aim. It also avoids sensitive organs and it determines the desired paths. This phenomenon requires image processing operations such as segmentation to locate the tumor. Medical image segmentation is still an important topic in the field of brain tumor. In the present article, we propose a Hardware Architecture of segmentation based on a Modified Particle Swarm Optimization (HAMPSO) algorithm for MRI images segmentation. To achieve this, we use the Xilinx System Generator (XSG) to be implemented on a Field Programmable Gate Array (FPGA). This architecture is based on a new variant of objective function. These performances of the proposed method are proved using a set of MRI images and were compared to the Hardware Architecture of segmentation based on Particle Swarm Optimization (HAPSO) in terms of either device utilization, execution time, qualitatively or quantitatively results.