Clear Filters
Clear Filters

euclidean distance calculation in for image forgery detection

3 views (last 30 days)
i am working on a project and it involves following steps.
1. RGB to gray conversion of image.
2. Applying SWT to gray image.
3. Dividing LL1 subband into overlapping blocks and applying SVD to each block and forming feature matrix.
4. Lexicographical sorting of this feature matrix.
5. to find the Euclidean distance of not all the block pairs, but only the very similar blocks that are close to each other (as specified by offset threshold), in the lexicographically sorted feature matrix. condition for offset threshold: abs [index (u) − index (v)] ≤ offset threshold.
I am stuck with this 5th step. Any help in this regard will be highly appreciated.

Answers (1)

KSSV
KSSV on 3 Oct 2017
doc knnsearch and rangesearch

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!