Blame view

ImageR/imager/test/test_feat.py 368 Bytes
1f1943eb   qijun   initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
__author__ = 'chunk'

from ..common import *

from ..mfeat import IntraBlockDiff

import os

package_dir = os.path.dirname(os.path.abspath(__file__))


def test_IntraBlockDiff():
    fibd = IntraBlockDiff.FeatIntraBlockDiff()
    print fibd.feat(os.path.join(package_dir, '../res/test3.jpg'))


if __name__ == '__main__':
    test_IntraBlockDiff()
    print 'helllo '