Skip to content

Commit

Permalink
Fix lensed resizing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebezzam committed Feb 29, 2024
1 parent ceb5d20 commit fc5fbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lensless/utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ def _get_images_pair(self, idx):
if self.alignment is not None:
lensed_np = resize(
lensed_np,
shape=(self.alignment["height"], self.alignment["width"]),
shape=(self.alignment["height"], self.alignment["width"], 3),
interpolation=cv2.INTER_NEAREST,
)
elif self.display_res is not None:
Expand Down

0 comments on commit fc5fbf6

Please sign in to comment.