You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get slices of a 3D image. In C++ this is done by passing an array of the ranges like:
Range ranges[3];
ranges[0] = Range::all();
ranges[1] = Range::all();
ranges[2] = Range(x,x+1) //within a for loop.
Mat 2dmat = 3dmat(ranges).clone();
But I can't see how to do this with import org.bytedeco.opencv.opencv_core.Mat;
The method apply in the above mentioned class says it takes an array of Ranges, but it actually does not:
/**\overload
@param ranges Array of selected ranges along each array dimension.
*/
public native @ByVal @Name("operator ()") Mat apply( @Const Range ranges );
The text was updated successfully, but these errors were encountered:
I am trying to get slices of a 3D image. In C++ this is done by passing an array of the ranges like:
Range ranges[3];
ranges[0] = Range::all();
ranges[1] = Range::all();
ranges[2] = Range(x,x+1) //within a for loop.
Mat 2dmat = 3dmat(ranges).clone();
But I can't see how to do this with import org.bytedeco.opencv.opencv_core.Mat;
The method apply in the above mentioned class says it takes an array of Ranges, but it actually does not:
The text was updated successfully, but these errors were encountered: