Przeglądaj źródła

v.0.2.0.10 [heart] ✅ DONE

ypv 3 dni temu
rodzic
commit
3af3bd8240

+ 5 - 5
ПМ.03.01/4.7.200/002/app.js

@@ -445,13 +445,13 @@
 
         // Anatomical heat profile: retain the existing warm head, chest and core,
         // then add a distinct but smoothly blended maximum over the heart area.
-        // Coordinates are relative to the detected silhouette, not the full photo:
-        // x=0.54 is slightly to the subject's left (viewer-right in a frontal pose),
-        // y=0.40 places the focus in the upper torso. This is an illustration,
-        // not a measurement of real body temperature.
+        // Coordinates are relative to the detected silhouette, not the full photo.
+        // Keep the rightward offset from v2; raise the heart maximum by 0.10
+        // of the detected silhouette height relative to v2. Other heat fields
+        // remain unchanged.
         const head = Math.exp(-((((nx - 0.50) / 0.17) ** 2) + (((ny - 0.105) / 0.10) ** 2)) * 2.0);
         const chest = Math.exp(-((((nx - 0.51) / 0.23) ** 2) + (((ny - 0.36) / 0.20) ** 2)) * 1.65);
-        const heart = Math.exp(-((((nx - 0.54) / 0.115) ** 2) + (((ny - 0.405) / 0.12) ** 2)) * 1.45);
+        const heart = Math.exp(-((((nx - 0.655) / 0.115) ** 2) + (((ny - 0.405) / 0.12) ** 2)) * 1.45);
         const core = Math.exp(-((((nx - 0.50) / 0.29) ** 2) + (((ny - 0.43) / 0.34) ** 2)) * 1.25);
         const shoulder = Math.exp(-((((nx - 0.50) / 0.34) ** 2) + (((ny - 0.24) / 0.13) ** 2)) * 1.3);
         const outer = clamp(

+ 1 - 1
ПМ.03.01/4.7.200/002/specification.md

@@ -4,7 +4,7 @@
 
 
 сердце немного правее (на 1/4 ширины груди) и ниже (на 1/10 высоты тела)
-v.0.2.0.10 [heart]
+v.0.2.0.10 [heart] ✅ DONE
 
 вернемся к тепловизору: поправь так, чтобы после выделения контура на фотографии самой яркой всегда областью было сердце (приблизительно по выделенному силуэту ). Остальные области как и сейчас, но с переходом на область сердца
 v.0.2.0.9 [heart] ✅ DONE