Research Article

New Morphological Features for Grading Pancreatic Ductal Adenocarcinomas

Algorithm 5

Post_Porocessing_PIPs  (pip_list).
Input: Pip list pip_list,
Method:
(1) trend1 NIL
(2) trend2 NIL
(3) for   i 1 to (pip_list .length − 2) do
(4)  pip1 pip _ list.get (i)
(5)  pip2 pip _ list.get ( )
(6)  pip3 pip _ list.get ( )
(7)  if pip2.y > pip1.y then trend1 up
(8)  if pip2.y < pip1.y then trend1 down
(9)  if pip3.y > pip2.y then trend2 up
(10) if pip3.y < pip2.y then trend2 down
(11)  if trend1 = trend2 then
(12)   pip _ list.del
(13)   
(14)  end if
(15) end for