Algorithmic reproduction of asymmetry and border cut-off parameters according to the ABCD rule for dermoscopy