6、手写签名图像分析与移动设备敏感信息非法流出防护策略

手写签名图像分析与移动设备敏感信息非法流出防护策略

1. 手写签名图像分析

在手写签名图像分析中,我们采用了一系列图像处理算法对签名图像进行预处理,以满足未来认证和识别的需求。

1.1 实现的伪代码
BufferedImage bi = ImageIO.read (new File("Signature_Image"));
int[][] matrix = new int[bi.getWidth()][bi.getHeight()];
for(int i=0; i<bi.getWidth();++i)
{  
  for(int j=0;j<bi.getHeight();++j)
  {
    matrix[i][j] = bi.getRGB(i,j);
  }
}

int rows = bi.getWidth(), columns = bi.getHeight();
for(int i = 0; i < rows; ++i)
{
  for(int j = 0; j < columns; ++j)
  {
    if((i==0) || (j==0) || (i==(rows-1)) || (j==(columns-1)))
      matrix[i][j] = 0;
  }
}
for(int r = 1; r < rows-1; r++)
{
  for(int c = 1; c < columns-1; c++)
  {
    if ((matrix[r][c] == 1) && (matrix[r][c+1] == 1)
        &
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值