Crop size confusion #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The crop size is calculated after
crop_offset
right?No, both
crop_offset
andcrop_size
are relative to the stitched canvas. The visual guide on the readme should help you.Let's say the stitched image is 720x720,
crop_offset
is[0.5, 0.5]
and thecrop_size
is[1.0, 1.0]
, then the cropped image is 360x360, right?No, that would be invalid as the crop region would be outside the stitched canvas.
crop_size
of[1.0, 1.0]
would be the original size so there can't be any offset.Oh, I see, so the
crop_offset
+crop_size
won't exceed[1.0, 1.0]
?correct