@@ -61,7 +61,7 @@ public class CVOperations {
6161 templateFactory .createAllMatTwoSource (opencv_core ::bitwise_and )),
6262
6363 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 )),
6565
6666 new OperationMetaData (CVOperation .defaults ("CV bitwise_or" , "Calculate the per-element bit-wise disjunction of two images." ),
6767 templateFactory .createAllMatTwoSource (opencv_core ::bitwise_or )),
@@ -204,7 +204,7 @@ public class CVOperations {
204204 new SocketHint .Builder <>(Scalar .class ).identifier ("borderValue" ).initialValueSupplier (opencv_imgproc ::morphologyDefaultBorderValue ).build (),
205205 SocketHints .Outputs .createMatSocketHint ("dst" ),
206206 (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 );
208208 }
209209 )),
210210
@@ -218,7 +218,7 @@ public class CVOperations {
218218 new SocketHint .Builder <>(Scalar .class ).identifier ("borderValue" ).initialValueSupplier (opencv_imgproc ::morphologyDefaultBorderValue ).build (),
219219 SocketHints .Outputs .createMatSocketHint ("dst" ),
220220 (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 );
222222 }
223223 )),
224224
0 commit comments