-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated shiftscalerotate #2250
Updated shiftscalerotate #2250
Conversation
Reviewer's Guide by SourceryThis pull request updates the Class diagram showing changes to ShiftScaleRotate classclassDiagram
class ShiftScaleRotate {
+border_mode: int = cv2.BORDER_CONSTANT
+fill: ColorType = 0
+fill_mask: ColorType = 0
-value: ColorType [removed]
-mask_value: ColorType [removed]
+__init__(scale_limit, rotate_limit, interpolation, border_mode, shift_limit_x, shift_limit_y, rotate_method, p)
}
Affine <|-- ShiftScaleRotate
note for ShiftScaleRotate "Changed default border_mode
Removed deprecated value and mask_value
Updated warning message"
State diagram showing parameter deprecation flowstateDiagram-v2
[*] --> OldParameters
OldParameters --> NewParameters
state OldParameters {
value --> fill
mask_value --> fill_mask
}
state NewParameters {
border_mode: BORDER_CONSTANT
fill
fill_mask
}
NewParameters --> [*]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ternaus - I've reviewed your changes - here's some feedback:
Overall Comments:
- Changing the default border_mode from BORDER_REFLECT_101 to BORDER_CONSTANT is a breaking change that could affect existing image processing pipelines. Please provide justification for this change in the PR description.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2250 +/- ##
=========================================
+ Coverage 0 89.90% +89.90%
=========================================
Files 0 50 +50
Lines 0 9003 +9003
=========================================
+ Hits 0 8094 +8094
- Misses 0 909 +909 ☔ View full report in Codecov by Sentry. |
Summary by Sourcery
Enhancements:
value
andmask_value
arguments withfill
andfill_mask
inShiftScaleRotate
.