Skip to content

Commit

Permalink
小修改
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyfool committed Jun 11, 2012
1 parent e472da4 commit 031a356
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
+ (int)hamdist:(uint64_t)x with:(uint64_t) y; //比较两个Hash值的汉明距离

这个算法有一定局限性,仅适用于一张图片的多种不同分辨率,采样率,或者极为相似的图像的比较。
实现主要参考了文中提到的Wote的Py版本,在此表示感谢。
8 changes: 0 additions & 8 deletions tpHash.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
//
// tpHash.h
// AppIcon
//
// Created by pei hao on 12-6-9.
// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TpHash : NSObject
Expand Down
8 changes: 0 additions & 8 deletions tpHash.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
//
// tpHash.m
// AppIcon
//
// Created by pei hao on 12-6-9.
// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "TpHash.h"

@implementation TpHash
Expand Down

0 comments on commit 031a356

Please sign in to comment.