Skip to content

Commit 1b20114

Browse files
committed
[panorama] small corrections to point annotation
1 parent ddee6ae commit 1b20114

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/instrumentman/panorama/process.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def run_processing(
341341
)
342342

343343
if scale is None:
344-
scale = 1000
344+
scale = _MAX_SCALE
345345

346346
progress.update(task_seams, completed=len(seams), total=len(seams))
347347

@@ -438,11 +438,11 @@ def run_processing(
438438
)
439439
)
440440
)
441-
@ rot_x(np.pi / 2 - float(prelim_v) - camera_pitch)
441+
@ rot_x(-(np.pi / 2 - float(prelim_v)) - camera_pitch)
442442
)
443443
pt_hz, pt_v, _ = (
444444
coord
445-
- (center + apply_rotation(camera_offset * 2, offset_rot))
445+
- (center + apply_rotation(camera_offset, offset_rot))
446446
).to_polar()
447447
pt_hz = (pt_hz - shift).normalized()
448448

0 commit comments

Comments
 (0)