lsxi77777 commited on
Commit
87c1463
·
1 Parent(s): aaf6642

Upload more examples

Browse files
Files changed (34) hide show
  1. datasets/show/Medical/MR_PET/MRI_1.png +3 -0
  2. datasets/show/Medical/MR_PET/MRI_2.png +3 -0
  3. datasets/show/Medical/MR_PET/MRI_3.png +3 -0
  4. datasets/show/Medical/MR_PET/PET_1.png +3 -0
  5. datasets/show/Medical/MR_PET/PET_2.png +3 -0
  6. datasets/show/Medical/MR_PET/PET_3.png +3 -0
  7. datasets/show/Medical/Retina/RetinaFix_32.png +3 -0
  8. datasets/show/Medical/Retina/RetinaFix_43.png +3 -0
  9. datasets/show/Medical/Retina/RetinaMove_32.png +3 -0
  10. datasets/show/Medical/Retina/RetinaMove_43.png +3 -0
  11. datasets/show/Medical/SPECT_CT/CT_1.png +3 -0
  12. datasets/show/Medical/SPECT_CT/CT_10.png +3 -0
  13. datasets/show/Medical/SPECT_CT/SPECT_1.png +3 -0
  14. datasets/show/Medical/SPECT_CT/SPECT_10.png +3 -0
  15. datasets/show/RemoteSensing/DayNight/DN4a.png +3 -0
  16. datasets/show/RemoteSensing/DayNight/DN4b.png +3 -0
  17. datasets/show/RemoteSensing/DayNight/DN5a.png +3 -0
  18. datasets/show/RemoteSensing/DayNight/DN5b.png +3 -0
  19. datasets/show/RemoteSensing/Infrared_Optical/IO1a.png +3 -0
  20. datasets/show/RemoteSensing/Infrared_Optical/IO1b.png +3 -0
  21. datasets/show/RemoteSensing/Infrared_Optical/IO3a.png +3 -0
  22. datasets/show/RemoteSensing/Infrared_Optical/IO3b.png +3 -0
  23. datasets/show/RemoteSensing/Map_Optical/MO3a.png +3 -0
  24. datasets/show/RemoteSensing/Map_Optical/MO3b.png +3 -0
  25. datasets/show/RemoteSensing/Map_Optical/MO6a.png +3 -0
  26. datasets/show/RemoteSensing/Map_Optical/MO6b.png +3 -0
  27. datasets/show/RemoteSensing/SAR_Optical/SO1a.png +3 -0
  28. datasets/show/RemoteSensing/SAR_Optical/SO1b.png +3 -0
  29. datasets/show/RemoteSensing/SAR_Optical/SO4a.png +3 -0
  30. datasets/show/RemoteSensing/SAR_Optical/SO4b.png +3 -0
  31. datasets/show/txt.txt +31 -1
  32. ui/app_class.py +8 -6
  33. ui/config.yaml +7 -4
  34. ui/utils.py +4 -4
datasets/show/Medical/MR_PET/MRI_1.png ADDED

Git LFS Details

  • SHA256: 455c2aafe9bb07301ffa77d512e7db4216c4c250961b3bae283b0763b027a226
  • Pointer size: 130 Bytes
  • Size of remote file: 51.6 kB
datasets/show/Medical/MR_PET/MRI_2.png ADDED

Git LFS Details

  • SHA256: d61b5b446ff6a6ee32ffd05e41fd60978fb06dbade297187436687fd269dfd1c
  • Pointer size: 130 Bytes
  • Size of remote file: 50.1 kB
datasets/show/Medical/MR_PET/MRI_3.png ADDED

Git LFS Details

  • SHA256: 695c510f12866881d9455b6354ad24207acdc3ebe11116cd59a2fc5bab73eb71
  • Pointer size: 130 Bytes
  • Size of remote file: 49.6 kB
datasets/show/Medical/MR_PET/PET_1.png ADDED

Git LFS Details

  • SHA256: e6b3339d47439ad32a833b68bd0e0c5f3546d4aa1bca11aa84233b48243beb3c
  • Pointer size: 130 Bytes
  • Size of remote file: 22.3 kB
datasets/show/Medical/MR_PET/PET_2.png ADDED

Git LFS Details

  • SHA256: 964f2bf7646f8cc3e019d4c2984a36e196c8e0dbbd7874781b90d7e10f851834
  • Pointer size: 130 Bytes
  • Size of remote file: 25.8 kB
datasets/show/Medical/MR_PET/PET_3.png ADDED

Git LFS Details

  • SHA256: 4ed8ead44448905aeb3b7a454bbb98316135308f487de74beab7a81171d1daad
  • Pointer size: 130 Bytes
  • Size of remote file: 36.5 kB
datasets/show/Medical/Retina/RetinaFix_32.png ADDED

Git LFS Details

  • SHA256: 204e7a36adafa47e56dd22022848692c663bf3a07f972faaeef8cbce0072baa8
  • Pointer size: 131 Bytes
  • Size of remote file: 289 kB
datasets/show/Medical/Retina/RetinaFix_43.png ADDED

Git LFS Details

  • SHA256: 7b5e3fe35c79fc4f8a32aafa087bed73e93ec069e2a338e4e07c355b7cd08ea1
  • Pointer size: 131 Bytes
  • Size of remote file: 176 kB
datasets/show/Medical/Retina/RetinaMove_32.png ADDED

Git LFS Details

  • SHA256: 16c83e14f9247a3f8c35b11554c6826bd645c363ad28f79ef7f068a2cfa53bd7
  • Pointer size: 131 Bytes
  • Size of remote file: 335 kB
datasets/show/Medical/Retina/RetinaMove_43.png ADDED

Git LFS Details

  • SHA256: b99f35857b55f7cb1788ebf6a5628b154ee96b56575f57996323c9275172214d
  • Pointer size: 131 Bytes
  • Size of remote file: 348 kB
datasets/show/Medical/SPECT_CT/CT_1.png ADDED

Git LFS Details

  • SHA256: 19f8af6839688f9e845bd284b49f60c76483aa5d204dcb7294045bf3cc043d51
  • Pointer size: 130 Bytes
  • Size of remote file: 32.2 kB
datasets/show/Medical/SPECT_CT/CT_10.png ADDED

Git LFS Details

  • SHA256: b3939b87c016bad617ca86ea2b1185ce2d0369d607b810979300041e299817b0
  • Pointer size: 130 Bytes
  • Size of remote file: 40.4 kB
datasets/show/Medical/SPECT_CT/SPECT_1.png ADDED

Git LFS Details

  • SHA256: 2b2717143f0104c87ba4cecd3abd0db3dca1764c85736a3fa8df3d48e540b40e
  • Pointer size: 130 Bytes
  • Size of remote file: 19.5 kB
datasets/show/Medical/SPECT_CT/SPECT_10.png ADDED

Git LFS Details

  • SHA256: c111d8ac017ed6b62854beaa948c2d2c2d334dedbe384cfb3e38704333a1b6fb
  • Pointer size: 130 Bytes
  • Size of remote file: 23.6 kB
datasets/show/RemoteSensing/DayNight/DN4a.png ADDED

Git LFS Details

  • SHA256: 67abe8b90aa841c5aeed84df5b934db8290fb3c72fb228fa042b9e039a7c8ee1
  • Pointer size: 131 Bytes
  • Size of remote file: 499 kB
datasets/show/RemoteSensing/DayNight/DN4b.png ADDED

Git LFS Details

  • SHA256: c4ebdee641190124047b4e7aa211765264ff3aba3f1e2a26a2f511935b13fab9
  • Pointer size: 131 Bytes
  • Size of remote file: 578 kB
datasets/show/RemoteSensing/DayNight/DN5a.png ADDED

Git LFS Details

  • SHA256: 8e969d55f4ef2ea64d88d2fdf5c238961344b72f9b4b267fab066ddcf4bc1421
  • Pointer size: 131 Bytes
  • Size of remote file: 603 kB
datasets/show/RemoteSensing/DayNight/DN5b.png ADDED

Git LFS Details

  • SHA256: 559f9afe45b94f0a32975416d9f47dc7e10211b5d46ae362dd1d286fdf1fe995
  • Pointer size: 131 Bytes
  • Size of remote file: 579 kB
datasets/show/RemoteSensing/Infrared_Optical/IO1a.png ADDED

Git LFS Details

  • SHA256: 95ab1304bfab208bce4d7d07e261b95a0d85b174d9eab2ed546880b03763d622
  • Pointer size: 131 Bytes
  • Size of remote file: 437 kB
datasets/show/RemoteSensing/Infrared_Optical/IO1b.png ADDED

Git LFS Details

  • SHA256: 8a5a02582f0fbab5611d50e1096407745f712f285f54673cf4a51a9201ab1890
  • Pointer size: 131 Bytes
  • Size of remote file: 619 kB
datasets/show/RemoteSensing/Infrared_Optical/IO3a.png ADDED

Git LFS Details

  • SHA256: faabed8a7c40554cabceb57a173aae1f6a3c59fa4394825e3ae5805ac2099276
  • Pointer size: 131 Bytes
  • Size of remote file: 356 kB
datasets/show/RemoteSensing/Infrared_Optical/IO3b.png ADDED

Git LFS Details

  • SHA256: 4ef68a06ed22ae60238a772cbe568dc1de92039dfc8460207c7264cf045585ef
  • Pointer size: 131 Bytes
  • Size of remote file: 536 kB
datasets/show/RemoteSensing/Map_Optical/MO3a.png ADDED

Git LFS Details

  • SHA256: e3deda54d44de75f3c7454a6ff409c1e538fc5a471bd3c0a547d53a27b3c7b1f
  • Pointer size: 131 Bytes
  • Size of remote file: 176 kB
datasets/show/RemoteSensing/Map_Optical/MO3b.png ADDED

Git LFS Details

  • SHA256: 121a4bb4b25004af53b1a0907e1ccb79b2f20aa8128a34564d413becb12774fe
  • Pointer size: 131 Bytes
  • Size of remote file: 312 kB
datasets/show/RemoteSensing/Map_Optical/MO6a.png ADDED

Git LFS Details

  • SHA256: 579be03e1ef03ca3fff1e3dbaa266ab806d80c5dd508c8048850aff0d4251e2c
  • Pointer size: 131 Bytes
  • Size of remote file: 137 kB
datasets/show/RemoteSensing/Map_Optical/MO6b.png ADDED

Git LFS Details

  • SHA256: b0d0698422c5d34cd979b67294baeae547adee2e9a316c5db3666d0ee4b99975
  • Pointer size: 131 Bytes
  • Size of remote file: 335 kB
datasets/show/RemoteSensing/SAR_Optical/SO1a.png ADDED

Git LFS Details

  • SHA256: d896d94835e5f04f70b645293e126c6c8df70c0258bf1ef9c0782eb4163c4d0d
  • Pointer size: 131 Bytes
  • Size of remote file: 574 kB
datasets/show/RemoteSensing/SAR_Optical/SO1b.png ADDED

Git LFS Details

  • SHA256: 3ec058df73309b90d3286b54591aab7610a3ae3f3aa6a2cd8ff5efc09918abaf
  • Pointer size: 131 Bytes
  • Size of remote file: 307 kB
datasets/show/RemoteSensing/SAR_Optical/SO4a.png ADDED

Git LFS Details

  • SHA256: 00952fc3ac1263b1ee2fe673a7d25b1b47278d1687a9dce06a037b6c90fe08f0
  • Pointer size: 131 Bytes
  • Size of remote file: 333 kB
datasets/show/RemoteSensing/SAR_Optical/SO4b.png ADDED

Git LFS Details

  • SHA256: b2aab7140c255a0d7ae94e680d2267df0121860ddab22599573aacff89cdf6e3
  • Pointer size: 131 Bytes
  • Size of remote file: 470 kB
datasets/show/txt.txt CHANGED
@@ -15,4 +15,34 @@ event/000289.png
15
  vis/000422.png
16
  event/000422.png
17
  vis/000522.png
18
- event/000522.png
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  vis/000422.png
16
  event/000422.png
17
  vis/000522.png
18
+ event/000522.png
19
+ Medical/MR_PET/MRI_1.png
20
+ Medical/MR_PET/PET_1.png
21
+ Medical/MR_PET/MRI_2.png
22
+ Medical/MR_PET/PET_2.png
23
+ Medical/MR_PET/MRI_3.png
24
+ Medical/MR_PET/PET_3.png
25
+ Medical/SPECT_CT/CT_1.png
26
+ Medical/SPECT_CT/SPECT_1.png
27
+ Medical/SPECT_CT/CT_10.png
28
+ Medical/SPECT_CT/SPECT_10.png
29
+ Medical\Retina\RetinaFix_32.png
30
+ Medical\Retina\RetinaMove_32.png
31
+ Medical\Retina\RetinaFix_43.png
32
+ Medical\Retina\RetinaMove_43.png
33
+ RemoteSensing\SAR_Optical\SO1a.png
34
+ RemoteSensing\SAR_Optical\SO1b.png
35
+ RemoteSensing\SAR_Optical\SO4a.png
36
+ RemoteSensing\SAR_Optical\SO4b.png
37
+ RemoteSensing\Map_Optical\MO3a.png
38
+ RemoteSensing\Map_Optical\MO3b.png
39
+ RemoteSensing\Map_Optical\MO6a.png
40
+ RemoteSensing\Map_Optical\MO6b.png
41
+ RemoteSensing\DayNight\DN4a.png
42
+ RemoteSensing\DayNight\DN4b.png
43
+ RemoteSensing\DayNight\DN5a.png
44
+ RemoteSensing\DayNight\DN5b.png
45
+ RemoteSensing\Infrared_Optical\IO1a.png
46
+ RemoteSensing\Infrared_Optical\IO1b.png
47
+ RemoteSensing\Infrared_Optical\IO3a.png
48
+ RemoteSensing\Infrared_Optical\IO3b.png
ui/app_class.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
  import numpy as np
7
  from easydict import EasyDict as edict
8
  from omegaconf import OmegaConf
9
- import spaces
10
  sys.path.append(str(Path(__file__).parents[1]))
11
 
12
  from ui.sfm import SfmEngine
@@ -38,16 +38,18 @@ DESCRIPTION = """
38
  </div>
39
  </div>
40
 
41
- <p style="text-align: center; font-size: 16px; color: #666;">
42
- This Space is derived from <a href="https://github.com/Vincentqyw/image-matching-webui" style="color: #007BFF;">Image Matching WebUI</a>.
 
 
43
  </p>
44
 
45
- <p style="text-align: center; font-size: 16px; color: #666;">
46
- We are grateful to the authors for their contribution of the source code.
47
  </p>
48
 
49
  <p style="text-align: center; font-size: 16px; color: #666;">
50
- Here we provide our MINIMA-model in our paper for test and comparison, and this project is undergoing continuous enhancement.
51
  </p>
52
  """
53
 
 
6
  import numpy as np
7
  from easydict import EasyDict as edict
8
  from omegaconf import OmegaConf
9
+ # import spaces
10
  sys.path.append(str(Path(__file__).parents[1]))
11
 
12
  from ui.sfm import SfmEngine
 
38
  </div>
39
  </div>
40
 
41
+ <p style="text-align: center; font-size: 14px; color: #666;">
42
+ This Space is derived from <a href="https://github.com/Vincentqyw/image-matching-webui" style="color: #007BFF;">Image Matching WebUI</a>.
43
+
44
+ We are grateful to the authors for their contribution of the source code.
45
  </p>
46
 
47
+ <p style="text-align: center; font-size: 14px; color: #666;">
48
+ Here we provide our MINIMA-model in our paper for test and comparison, and this project is undergoing continuous enhancement.
49
  </p>
50
 
51
  <p style="text-align: center; font-size: 16px; color: #666;">
52
+ Special thanks to Hugging Face for providing the ZeroGPU for this Space!
53
  </p>
54
  """
55
 
ui/config.yaml CHANGED
@@ -1,10 +1,10 @@
1
  server:
2
  name: "0.0.0.0"
3
- port: 7861
4
 
5
  defaults:
6
  setting_threshold: 0.1
7
- max_keypoints: 2048
8
  keypoint_threshold: 0.0005
9
  enable_ransac: true
10
  ransac_method: CV2_USAC_MAGSAC
@@ -22,9 +22,12 @@ matcher_zoo:
22
  feature: superpoint_max
23
  dense: false
24
  info:
25
- name: MINIMA(LightGlue) #dispaly name
 
 
 
26
  project: null
27
- display: false
28
 
29
  minima(loftr):
30
  matcher: minima_loftr
 
1
  server:
2
  name: "0.0.0.0"
3
+ port: 7860
4
 
5
  defaults:
6
  setting_threshold: 0.1
7
+ max_keypoints: 2000
8
  keypoint_threshold: 0.0005
9
  enable_ransac: true
10
  ransac_method: CV2_USAC_MAGSAC
 
22
  feature: superpoint_max
23
  dense: false
24
  info:
25
+ name: MINIMA #dispaly name
26
+ source: "ArXiv 2024"
27
+ github: https://github.com/LSXI7/MINIMA
28
+ paper: https://arxiv.org/abs/2412.19412
29
  project: null
30
+ display: true
31
 
32
  minima(loftr):
33
  matcher: minima_loftr
ui/utils.py CHANGED
@@ -36,7 +36,7 @@ warnings.simplefilter("ignore")
36
  ROOT = Path(__file__).parent.parent
37
  # some default values
38
  DEFAULT_SETTING_THRESHOLD = 0.1
39
- DEFAULT_SETTING_MAX_FEATURES = 2048
40
  DEFAULT_DEFAULT_KEYPOINT_THRESHOLD = 0.0005
41
  DEFAULT_ENABLE_RANSAC = True
42
  DEFAULT_RANSAC_METHOD = "CV2_USAC_MAGSAC"
@@ -197,8 +197,8 @@ def gen_examples():
197
  random.seed(1)
198
  example_matchers = [
199
  "superpoint+minima(lightglue)",
200
- # "minima(loftr)",
201
- # "minima(RoMa)",
202
  ]
203
 
204
  def distribute_elements(A, B):
@@ -251,7 +251,7 @@ def gen_examples():
251
  match_setting_threshold,
252
  match_setting_max_features,
253
  detect_keypoints_threshold,
254
- mt,
255
  # enable_ransac,
256
  ransac_method,
257
  ransac_reproj_threshold,
 
36
  ROOT = Path(__file__).parent.parent
37
  # some default values
38
  DEFAULT_SETTING_THRESHOLD = 0.1
39
+ DEFAULT_SETTING_MAX_FEATURES = 2000
40
  DEFAULT_DEFAULT_KEYPOINT_THRESHOLD = 0.0005
41
  DEFAULT_ENABLE_RANSAC = True
42
  DEFAULT_RANSAC_METHOD = "CV2_USAC_MAGSAC"
 
197
  random.seed(1)
198
  example_matchers = [
199
  "superpoint+minima(lightglue)",
200
+ "minima(loftr)",
201
+ "minima(RoMa)",
202
  ]
203
 
204
  def distribute_elements(A, B):
 
251
  match_setting_threshold,
252
  match_setting_max_features,
253
  detect_keypoints_threshold,
254
+ mt if 'Medical' not in pair[0] else 'minima(RoMa)',
255
  # enable_ransac,
256
  ransac_method,
257
  ransac_reproj_threshold,