Skip to content

Commit 9b4526b

Browse files
committed
Implemented using vue-image-diff
1 parent 0b3fa51 commit 9b4526b

25 files changed

+1027
-1411
lines changed

README.md

Lines changed: 10 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# image-diff
22
![Alt Text](example.gif)
3-
3+
<br />
44
client web application to compare multiple images.
55
<br />
66
you can pan, zoom and diff multiple images at the same time.
77
<br />
88
currently support 8bit jpg, png format
99
<br />
10-
this project was built with the Vue framework and many other libraries.
10+
this project was built with the Vue framework, [vue-image-diff component](https://github.com/whwnsdlr1/vue-image-diff) and many other libraries.
1111

1212
## Demo
1313
you can online demo in [https://whwnsdlr1.github.io/image-diff](https://whwnsdlr1.github.io/image-diff/).
@@ -17,6 +17,7 @@ or
1717
install project as below
1818
```
1919
git clone https://github.com/whwnsdlr1/image-diff
20+
cd image-diff
2021
yarn install
2122
yarn run serve
2223
```
@@ -29,26 +30,11 @@ you can set order of images using file name(index key and value, seperated by tw
2930
ex) barbara__index__0.jpg, cameraman__index__1.jpg, salesman__index__3.png...
3031
3. diff !
3132
```
32-
mouse & touch drag - panning
33-
mouse wheel & pinch to zoom - zoom in / out
34-
mouse doubleclick - select reference image
35-
```
36-
37-
- x: coordinate x.
38-
- y: coordinate y.
39-
- scale: scale, scale is applied before coordinate.(panning)
40-
- diff: turn on / off diff mode.
41-
- ref: reference image to diff. you can change ref by frame click in diff mode.
42-
- tolerance: if difference value(Mean Square Error) is greater than or equal tolerance, pixel is set difference-tag. opposite, set same-tag less than tolerance. ![equation](http://latex.codecogs.com/png.latex?%5Csum_%7BP%7D%5E%7Bp%7D%28%5Csqrt%7B%28R_%7Bp1%7D-R_%7Bp2%7D%29%5E%7B2%7D%20&plus;%20%28G_%7Bp1%7D-G_%7Bp2%7D%29%5E%7B2%7D%20&plus;%20%28B_%7Bp1%7D-B_%7Bp2%7D%29%5E%7B2%7D%7D%29)
43-
- home: move to image load page.
44-
- rearrange: rearrange frames. drag and drop.
45-
- setting
46-
```
47-
- define image size: image size to be resized. only can set before load images.
48-
- show overlay text: show / hidden file name and description.
49-
- frame row count: frames row count.
50-
- border width: border width. limit to [0, 40)
51-
- border color: border color.
33+
- mouse & touch drag - panning
34+
- mouse wheel & pinch to zoom - zoom in / out
35+
- mouse doubleclick - change reference image for diff
36+
- right mouse drag - adjust brightness and contrast
37+
- control panel parameter - see [vue-image-diff](https://github.com/whwnsdlr1/vue-image-diff) readme
5238
```
5339

5440
## Browser support - (tested)
@@ -63,9 +49,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
6349
## Third-party libraries
6450
### Dependencies
6551
- vue: [https://github.com/vuejs/vue](https://github.com/vuejs/vue)
66-
- cornerstone-core: [https://github.com/cornerstonejs/cornerstone](https://github.com/cornerstonejs/cornerstone)
67-
- jpeg-js: [https://github.com/eugeneware/jpeg-js](https://github.com/eugeneware/jpeg-js)
68-
- pngjs: [https://github.com/arian/pngjs](https://github.com/arian/pngjs)
52+
- vue-image-diff: [https://github.com/whwnsdlr1/vue-image-diff](https://github.com/whwnsdlr1/vue-image-diff)
6953
- element-resize-event: [https://github.com/KyleAMathews/element-resize-event](https://github.com/KyleAMathews/element-resize-event)
7054
- vue-lodash: [https://github.com/Ewocker/vue-lodash](https://github.com/Ewocker/vue-lodash)
7155
- vue-toasted: [https://github.com/shakee93/vue-toasted](https://github.com/shakee93/vue-toasted)
@@ -77,11 +61,4 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
7761
- babel-eslint
7862
- eslint
7963
- eslint-plugin-vue
80-
- sitemap-webpack-plugin
81-
- vue-template-compiler
82-
<<<<<<< HEAD
83-
84-
## TO-DO
85-
- support other image format(bmp, tiff)
86-
=======
87-
>>>>>>> ce5995f2fc362d1ea160854bfe3aae517f65e883
64+
- vue-template-compiler

docs/css/app.055988ff.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)