mapping.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "dimension": "depth_map",
  3. "type": "形式",
  4. "description": "深度图,用于ControlNet深度控制,反映场景空间层次和浅景深效果",
  5. "valid_files": {
  6. "img_1_depth.png": {
  7. "source": "img_1",
  8. "method": "局部方差法(清晰度代理深度)",
  9. "mean": 72.3
  10. },
  11. "img_2_depth.png": {
  12. "source": "img_2",
  13. "method": "局部方差法(清晰度代理深度)",
  14. "mean": 79.1
  15. },
  16. "img_3_depth.png": {
  17. "source": "img_3",
  18. "method": "局部方差法(清晰度代理深度)",
  19. "mean": 93.1
  20. },
  21. "img_4_depth.png": {
  22. "source": "img_4",
  23. "method": "局部方差法(清晰度代理深度)",
  24. "mean": 82.5
  25. },
  26. "img_5_depth.png": {
  27. "source": "img_5",
  28. "method": "局部方差法(清晰度代理深度)",
  29. "mean": 65.8
  30. }
  31. },
  32. "tool_limitation": "当前使用OpenCV局部方差法(清晰度作为深度代理),非真实深度估计。建议生产环境使用MiDaS/DPT-Large/Depth-Anything-V2模型获取更精准的深度图。",
  33. "recommended_tool": "Depth-Anything-V2 (2024年最新,精度最高) 或 MiDaS v3.1",
  34. "depth_interpretation": {
  35. "white": "近景(清晰区域)- 人物、画架、调色板",
  36. "gray": "中景",
  37. "black": "远景(虚化区域)- 背景树木草地"
  38. },
  39. "mapping": [
  40. {
  41. "image": "img_2",
  42. "paragraph": "段落2",
  43. "type": "形式",
  44. "feature": "景深空间关系",
  45. "highlight": "唯美梦幻的光影与景深",
  46. "path": "output/features/depth_map/img_2_depth.png"
  47. },
  48. {
  49. "image": "img_3",
  50. "paragraph": "段落3",
  51. "type": "形式",
  52. "feature": "景深空间关系",
  53. "highlight": "唯美梦幻的光影与景深",
  54. "path": "output/features/depth_map/img_3_depth.png"
  55. },
  56. {
  57. "image": "img_5",
  58. "paragraph": "段落5",
  59. "type": "形式",
  60. "feature": "景深空间关系",
  61. "highlight": "唯美梦幻的光影与景深",
  62. "path": "output/features/depth_map/img_5_depth.png"
  63. },
  64. {
  65. "image": "img_1",
  66. "paragraph": "段落1",
  67. "type": "形式",
  68. "feature": "景深空间关系",
  69. "path": "output/features/depth_map/img_1_depth.png"
  70. },
  71. {
  72. "image": "img_4",
  73. "paragraph": "段落4",
  74. "type": "形式",
  75. "feature": "景深空间关系",
  76. "path": "output/features/depth_map/img_4_depth.png"
  77. }
  78. ]
  79. }