Research Article

Acceleration of Image Segmentation Algorithm for (Breast) Mammogram Images Using High-Performance Reconfigurable Dataflow Computers

Algorithm 2

Pectoral muscle removal algorithm.
Step 1.  Start with the first row;
Step 2. Scan from left to right side;
Step 3. While pixel value is less than the threshold value go to the
   next pixel;
Step 4.  If the pixel belongs to the first tenth part of the
   mammogram then the pixel value is greater than or equal to
   the threshold value set the current pixel value to black and
   go to the next pixel and repeat Step , otherwise go to Step
   ;
   If the pixel does not belong to the first tenth part of the
   mammogram anymore go to Step ;
Step 5.  If the pixel value is greater than or equal to the threshold
   value and the above pixel is black then set the current pixel
   value to black and go to the next pixel and repeat Step ,
   otherwise go to Step ;
Step 6.  Repeat Steps to for the next row.