document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1.  
  2. def detecciondebordes(imagen):
  3.     salida="salida.png"
  4.     umbral=125
  5.     valoresmaximos, valores_gradientes = gradient(imagen)
  6.     pixeles, puntos_borde = filtro_umbral(image, umbral=umbral)
  7.     puntos_borde = group(puntos_borde)
  8.     return puntos_borde,valores_gradientes
');