imgdiff
ImageDiff
¶
Bases: MetaAlgo
Calculate difference map
Builds a change map by calculating the difference between image 1 & image 2
Source code in changedet/algos/imgdiff.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|
run(im1, im2, **flags)
classmethod
¶
Run Image Differencing algorithm
Parameters:
Name | Type | Description | Default |
---|---|---|---|
im1 |
ndarray
|
Image 1 array |
required |
im2 |
ndarray
|
Image 2 array |
required |
**flags |
dict
|
Flags for the algorithm |
{}
|
Source code in changedet/algos/imgdiff.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|