@@ -61,7 +61,7 @@ public class CVOperations {
61
61
templateFactory .createAllMatTwoSource (opencv_core ::bitwise_and )),
62
62
63
63
new OperationMetaData (CVOperation .defaults ("CV bitwise_not" , "Calculate per-element bit-wise inversion of an image." ),
64
- templateFactory .createAllMatTwoSource (opencv_core ::bitwise_not )),
64
+ templateFactory .createAllMatOneSource (opencv_core ::bitwise_not )),
65
65
66
66
new OperationMetaData (CVOperation .defaults ("CV bitwise_or" , "Calculate the per-element bit-wise disjunction of two images." ),
67
67
templateFactory .createAllMatTwoSource (opencv_core ::bitwise_or )),
@@ -204,7 +204,7 @@ public class CVOperations {
204
204
new SocketHint .Builder <>(Scalar .class ).identifier ("borderValue" ).initialValueSupplier (opencv_imgproc ::morphologyDefaultBorderValue ).build (),
205
205
SocketHints .Outputs .createMatSocketHint ("dst" ),
206
206
(src , kernel , anchor , iterations , borderType , borderValue , dst ) -> {
207
- opencv_imgproc .dilate (src , kernel , dst , anchor , iterations .intValue (), borderType .value , borderValue );
207
+ opencv_imgproc .dilate (src , dst , kernel , anchor , iterations .intValue (), borderType .value , borderValue );
208
208
}
209
209
)),
210
210
@@ -218,7 +218,7 @@ public class CVOperations {
218
218
new SocketHint .Builder <>(Scalar .class ).identifier ("borderValue" ).initialValueSupplier (opencv_imgproc ::morphologyDefaultBorderValue ).build (),
219
219
SocketHints .Outputs .createMatSocketHint ("dst" ),
220
220
(src , kernel , anchor , iterations , borderType , borderValue , dst ) -> {
221
- opencv_imgproc .erode (src , kernel , dst , anchor , iterations .intValue (), borderType .value , borderValue );
221
+ opencv_imgproc .erode (src , dst , kernel , anchor , iterations .intValue (), borderType .value , borderValue );
222
222
}
223
223
)),
224
224
0 commit comments