imageprocessing/guidedVectorize.c
int signDiff(int val1, int val2)
{
  int result = 0;
  if (val1 > val2)
    result = 1;
  else if (val1 < val1)
    result = -1;
  return result;
}
/* Compare two values. Return 1 if val1 > val2,
 * -1 if val1 < val2, 0 if they are the same
 */
Compare two values. Return 1 if val1 > val2,
-1 if val1 < val2, 0 if they are the same
Compare two values . Return 1 if val1 > val2 - 1 if val1 < val2 0 if they are the same
int signDiff(int val1, int val2)
{
  int result = 0;
  if (val1 > val2)
    result = 1;
  else if (val1 < val1)
    result = -1;
  return result;
}
int signDiff ( int val1 , int val2 ) { int result = 0 ; if ( val1 > val2 ) result = 1 ; else if ( val1 < val1 ) result = -1 ; return result ; }
Compare two values.
Compare two values .