Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
# Conflicts: # src/views/trials/trials-panel/reading/dicoms3D/components/VolumeViewport.vueuat_us
commit
79a7ad0cf7
|
|
@ -234,7 +234,7 @@ export default {
|
||||||
// 如果行向量主要在 X-Y 平面 (rowZ 很小),则为 Axial。
|
// 如果行向量主要在 X-Y 平面 (rowZ 很小),则为 Axial。
|
||||||
// 如果行向量主要在 X-Z 平面 (rowY 很小),则为 Sagittal。
|
// 如果行向量主要在 X-Z 平面 (rowY 很小),则为 Sagittal。
|
||||||
// 为了简化,我们可以直接根据视线方向(法线)来判断。
|
// 为了简化,我们可以直接根据视线方向(法线)来判断。
|
||||||
// 法线方向 = 行向量 × 列向量
|
// 法线方向 = 行向量 × 列向量
|
||||||
const [colX, colY, colZ] = imageOrientationPatient.slice(3);
|
const [colX, colY, colZ] = imageOrientationPatient.slice(3);
|
||||||
const normalX = rowY * colZ - rowZ * colY;
|
const normalX = rowY * colZ - rowZ * colY;
|
||||||
const normalY = rowZ * colX - rowX * colZ;
|
const normalY = rowZ * colX - rowX * colZ;
|
||||||
|
|
@ -488,8 +488,8 @@ export default {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
try {
|
try {
|
||||||
return await createImageIdsAndCacheMetaData({
|
return await createImageIdsAndCacheMetaData({
|
||||||
modality: obj.Modality,
|
modality: obj.Modality,
|
||||||
imageIds: obj.ImageIds
|
imageIds: obj.ImageIds
|
||||||
})
|
})
|
||||||
} finally {
|
} finally {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue