Research Article

Hardware-Efficient Design of Real-Time Profile Shape Matching Stereo Vision Algorithm on FPGA

Algorithm 1

Profile shape matching step  2.
for row in image do
 for vertex, , in   do
  for  vertex, , in where   do
   while     do
    Increment
   end  while
   while     do
    Decrement
   end  while
  end  for
  Set   s.t.  
 end  for
 for   in thresholds  do
  for  vertex, , in   do
   while     do
    Increment
   end  while
   while     do
    Decrement
   end  while
   if  every pixel is assigned to a shape  then
    Continue to next row of image
   end  if
  end  for
 end  for
end  for