Search results

From BoofCV
Jump to navigationJump to search
  • Arrays and matrix coordinates in BoofCV are all zero-indexed (unlike 1-indexed libraries like [https://www.mathworks.com/products/matlab.html Matl ...er-extent is the bottom-right corner and has the value of (width-1, height-1).
    3 KB (441 words) - 13:07, 10 October 2021
  • ...m.out.printf("Found RGB->HSV = %5.2f %5.3f %5.1f\n", pixelHsv[0], pixelHsv[1], pixelHsv[2]); ColorHsv.hsvToRgb(pixelHsv[0], pixelHsv[1], pixelHsv[2], pixelRgb);
    2 KB (231 words) - 15:58, 17 January 2022
  • kernel.offset = 1; // specify the kernel's origin kernel.data[0] = 1;
    3 KB (356 words) - 15:59, 17 January 2022
  • gui.addImage(VisualizeImageData.colorizeSign(derivX, null, -1), "Sobel X"); gui.addImage(VisualizeImageData.colorizeSign(derivY, null, -1), "Sobel Y");
    3 KB (385 words) - 16:03, 17 January 2022
  • ConfigGeneralDetector configDetector = new ConfigGeneralDetector(-1,8,1); PkltConfig configKlt = new PkltConfig(3,new int[]{1,2,4,8});
    2 KB (254 words) - 05:53, 28 March 2016
  • Image:Example_image_pyramid.png | Cartoon showing a pyramid with 1,2,4 scaling. ConfigDiscreteLevels.levels(4), -1, 2, true, ImageType.single(imageType));
    5 KB (632 words) - 16:11, 17 January 2022
  • {| class="wikitable" border="1" {| class="wikitable" border="1"
    5 KB (616 words) - 12:07, 11 June 2014
  • * 1) How to construct a histogram in 1D, 2D, 3D, ..etc, 2) Histograms are just Planar<GrayF32> rgb = new Planar<>(GrayF32.class, 1, 1, 3);
    8 KB (1,006 words) - 16:15, 17 January 2022
  • numCameras, /*views*/ numMotions*numCameras, /* motions */numMotions + 1, structure.setCamera(1, true, intrinsic1);
    6 KB (826 words) - 17:48, 2 September 2022
  • ...ions = BinaryImageOps.contour(filtered, ConnectRule.EIGHT, label).size() + 1; // +1 to regions because contour only counts blobs and not the background
    3 KB (445 words) - 16:33, 17 January 2022
  • System.out.println("H = " + color[0] + " S = " + color[1] + " V = " + color[2]); showSelectedColor("Selected", image, color[0], color[1]);
    4 KB (574 words) - 16:25, 17 January 2022
  • In a binary image each pixel can have a value of 0 or 1. Binary images are easy to compute and fast to process, which makes them p GrayU8 filtered = BinaryImageOps.erode8(binary, 1, null);
    3 KB (375 words) - 15:57, 17 January 2022
  • var bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888) var bitmapWork = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888)
    5 KB (521 words) - 15:16, 15 July 2023
  • configDetector.general.threshold = 1; ...new Homography2D_F64(0.5, 0, frame.width/4, 0, 0.5, frame.height/4, 0, 0, 1);
    6 KB (837 words) - 11:17, 12 July 2021
  • // Declare storage for segmented image. 1 = moving foreground and 0 = background var gui = new ImageGridPanel(1, 2);
    3 KB (372 words) - 14:14, 12 July 2021
  • // size of the blur kernel. square region with a width of radius*2 + 1 GBlurImageOps.gaussian(input, blurred, -1, radius, null);
    2 KB (313 words) - 16:00, 17 January 2022
  • GrayU8 filtered = BinaryImageOps.erode8(binary, 1, null); filtered = BinaryImageOps.dilate8(filtered, 1, null);
    2 KB (309 words) - 14:02, 17 January 2022
  • ImageGridPanel gui = new ImageGridPanel(1, 2); gui.setImage(0, 1, new BufferedImage(frame.width, frame.height, BufferedImage.TYPE_INT_RGB));
    4 KB (454 words) - 11:18, 12 July 2021
  • Planar<GrayU8> rgb = new Planar<GrayU8>(GrayU8.class,1,1,3); GrayU16 depth = new GrayU16(1,1);
    5 KB (569 words) - 18:44, 3 January 2017
  • * interface will have each pixel assigned a unique label from 0 to N-1, where N is the number of regions. GBlurImageOps.gaussian(color, color, 0.5, -1, null);
    6 KB (643 words) - 16:26, 17 January 2022
  • new ConfigFastHessian(1, 2, 200, 1, 9, 4, 4), null, null, imageType); ...omography2D_F64(scale, 0, colorA.width/4, 0, scale, colorA.height/4, 0, 0, 1);
    9 KB (1,055 words) - 15:54, 17 January 2022
  • ...three examples. In BoofCV there are often three ways to invoke a function; 1) procedural, 2) generalized, and 3) abstracted. BlurImageOps.gaussian(input, blurred, -1, blurRadius, null);
    9 KB (1,198 words) - 16:05, 17 January 2022
  • private GrayS16 derivX = new GrayS16(1,1); private GrayS16 derivY = new GrayS16(1,1);
    6 KB (816 words) - 15:23, 15 July 2023
  • ...hich form a "ring", that is that when traversed from image 1 -> 2 - > 3 -> 1 you wind up FactoryAssociation.greedy(new ConfigAssociateGreedy(true, 0.1), scorer);
    6 KB (743 words) - 13:31, 17 January 2022
  • ...optical flow is very computationally expensive. Just process the image at 1/2 resolution PanelGridPanel gui = new PanelGridPanel(1, 2);
    3 KB (390 words) - 10:41, 12 July 2021
  • background.setUnknownValue(1); // storage for segmented image. Background = 0, Foreground = 1
    6 KB (649 words) - 14:13, 12 July 2021
  • ...er = FactoryDetectPoint.createShiTomasi(new ConfigGeneralDetector(1000, 5, 1), null, derivType); InterestPointDetector detector = FactoryInterestPoint.wrapPoint(corner, 1, imageType, derivType);
    4 KB (418 words) - 13:58, 17 January 2022
  • // Make the image scaled from 0 to 1 to reduce overflow issues boxImage.set(xx, yy, 1.0f/(15*15));
    5 KB (619 words) - 11:55, 12 July 2021
  • // Camera matrix for view-1, P1, is going to be identity // Scale is arbitrary so let's make it norm of 1
    4 KB (500 words) - 13:03, 12 July 2021
  • associateThree.detectFeatures(gray02, 1); configRansac.inlierThreshold = 1;
    4 KB (486 words) - 17:31, 17 January 2022
  • BlurImageOps.gaussian(input,output,-1,3,storage); ...lter<ImageFloat32> filter = FactoryBlurFilter.gaussian(ImageFloat32.class,-1,3);
    6 KB (923 words) - 05:04, 6 October 2011
  • {| cellpadding="5" cellspacing="0" border="1" | Reference || 1.0.9 || C++ || No || http://www.vision.ee.ethz.ch/~surf/
    13 KB (1,854 words) - 12:39, 25 September 2014
  • GrayU8 gray = new GrayU8(1,1);
    4 KB (707 words) - 18:41, 3 January 2017
  • viewer.setCameraToWorld(new Se3_F64(rotY, new Vector3D_F64(0.75, 0, 1.25)).invert(null)); var gui = new PanelGridPanel(1, imagePanel, viewerComponent);
    5 KB (604 words) - 15:45, 17 January 2022
  • original.append(new Point3D_F64(i, i + 1, -i));
    2 KB (244 words) - 15:09, 12 July 2021
  • Example File: [https://github.com/lessthanoptimal/BoofCV/blob/v1.1.0/examples/src/main/java/boofcv/examples/calibration/ExampleCalibrateMonocu ...circleRegularGrid(null, new ConfigGridDimen(/*numRows*/ 8, /*numCols*/ 10, 1.5, 2.5));
    5 KB (577 words) - 19:05, 9 September 2023
  • * In BoofCV, scene recognition [1] refers to the problem of trying to identify photos of the same scene (not * [1] As far as I can tell there is no universal terminology for this specific s
    5 KB (680 words) - 17:41, 2 September 2022
  • ...AztecGenerator.renderImage(/* pixel per square */ 10, /* border squares */ 1, marker);
    2 KB (257 words) - 17:31, 2 September 2022
  • | generics || Allows strong typing in abstracted code. Introduced in Java 1.5. Click [http://docs.oracle.com/javase/tutorial/java/generics/index.html BufferedImage out = VisualizeImageData.grayMagnitude(derivX,null,-1);
    11 KB (1,505 words) - 14:02, 21 April 2017
  • ...F = ExampleComputeFundamentalMatrix.robustFundamental(matches, inliers, 0.1); DMatrixRMaj H = MultiViewOps.createProjectiveToMetric(K, v.x, v.y, v.z, 1, null);
    10 KB (1,204 words) - 17:34, 17 January 2022
  • // around 1,000,000 points
    2 KB (266 words) - 15:08, 12 July 2021
  • * [https://github.com/lessthanoptimal/BoofCV/blob/v0.40.1/examples/src/main/java/boofcv/examples/fiducial/ExampleRenderMicroQrCode.ja ...QrCodeGenerator.renderImage(/* pixel per module */ 10, /* border modules*/ 1, qr);
    2 KB (293 words) - 12:00, 24 January 2022
  • Example File: [https://github.com/lessthanoptimal/BoofCV/blob/v1.1.0/examples/src/main/java/boofcv/examples/calibration/ExampleCalibrateMulti. ConfigECoCheckMarkers.parse("14x10n1", /* square size */1.0));
    4 KB (459 words) - 19:06, 9 September 2023
  • GrayU8 thinned = BinaryImageOps.thin(binary, -1, null);
    2 KB (294 words) - 16:07, 17 January 2022
  • ...o 1 and 0 to the rest. Typically the pixels which are assigned a value of 1 are an object of interest. BoofCV provides both global and adaptive (local) ...hen all pixels with a value less than or equal to the threshold are set to 1.
    10 KB (1,444 words) - 21:02, 7 December 2016
  • // a large radius is used to exaggerate weighted/unweighted affects. Try 1 or 2 for a typical value
    3 KB (335 words) - 16:05, 2 September 2022
  • GrayU8 filtered = BinaryImageOps.erode8(binary, 1, null); filtered = BinaryImageOps.dilate8(filtered, 1, null);
    6 KB (750 words) - 14:02, 17 January 2022
  • VisualizeImageData.grayMagnitude(intensity, output, -1); drawRectangles(g2, image, templatePaint, null, 1);
    6 KB (830 words) - 16:19, 17 January 2022
  • VisualizeShapes.drawPolygon(qr.bounds, true, 1, g2); VisualizeShapes.drawPolygon(qr.bounds, true, 1, g2);
    3 KB (382 words) - 09:49, 10 November 2022
  • new ConfigFastHessian(0, 4, 1000, 1, 9, 4, 2), null, null, GrayU8.class); associateThree.detectFeatures(image02, 1);
    17 KB (2,003 words) - 17:36, 17 January 2022
  • config.tracker.detDesc.detectPoint.general.threshold = 1; config.ransac.inlierThreshold = 1.5;
    3 KB (350 words) - 20:27, 8 October 2021
  • VisualizeShapes.drawPolygon(marker.bounds, true, 1, g2); VisualizeShapes.drawPolygon(marker.bounds, true, 1, g2);
    3 KB (391 words) - 09:49, 10 November 2022
  • ...ove away. There are two significant disadvantage for calibration targets. 1) They don't provide a unique ID. 2) Most patterns are not fully orientatio |Calibration || Chessboard ||style="text-align:center;"| 97 || 1 || Partial || Best Close
    12 KB (1,687 words) - 10:50, 20 January 2018
  • image.getBand(1).set(5,5,50); BlurImageOps.gaussian(image,output,-1,2,null);
    8 KB (1,192 words) - 08:15, 29 March 2016
  • configDisparity.validateRtoL = 1; var colorImage = new InterleavedU8(1, 1, 3);
    9 KB (1,145 words) - 17:43, 2 September 2022
  • config.tracker.detDesc.detectPoint.general.threshold = 1;
    3 KB (362 words) - 20:26, 8 October 2021
  • VisualizeImageData.colorizeSign(intensity, output, -1);
    4 KB (484 words) - 16:03, 2 September 2022
  • VisualizeImageData.colorizeSign(intensity, output, -1);
    4 KB (464 words) - 16:10, 2 September 2022
  • VisualizeShapes.drawPolygon(qr.bounds, true, 1, g2); VisualizeShapes.drawPolygon(qr.bounds, true, 1, g2);
    3 KB (432 words) - 09:50, 10 November 2022
  • // To help make the time go by faster while we wait about 1 to 2 minutes for it to finish, let's print stuff // PixelMath.operator1(inverseDepth, ( v ) -> v <= 1.0f ? v : Float.NaN, inverseDepth);
    7 KB (844 words) - 17:44, 2 September 2022
  • for (int imageID = 1; imageID <= 3; imageID++) { VisualizeShapes.drawPolygon(bounds, true, 1.0, g2);
    4 KB (502 words) - 15:42, 17 January 2022
  • config.validateRtoL = 1; config.texture = 0.1;
    13 KB (1,404 words) - 17:55, 2 September 2022
  • ResultsBlob results = gray.threshold(threshold,true).erode8(1).contour();
    3 KB (386 words) - 18:59, 5 December 2016
  • * has the following steps. 1) compute normalized image coordinates for each pixel. 2) convert into unit
    4 KB (394 words) - 10:15, 12 July 2021
  • config.validateRtoL = 1; config.validateRtoL = 1;
    8 KB (915 words) - 18:03, 2 September 2022
  • ConvertRotation3D_F32.eulerToMatrix(EulerType.YXZ, 0, 1.45f, 2.2f, pinholeToEqui.getRotation()); ConvertRotation3D_F32.eulerToMatrix(EulerType.YXZ, 0, 1.25f, -1.25f, pinholeToEqui.getRotation());
    4 KB (421 words) - 13:24, 17 January 2022
  • Found 1 QR "LANDMARK16 1"
    7 KB (1,154 words) - 07:01, 26 May 2020
  • Support for Camera2 API was added May of 2018. The Camera 1 API is still available but not currently being updated. Static functions ar Data from camera previews in Camera 1 API is made available in the NV21 image format.
    8 KB (1,082 words) - 08:39, 22 June 2020
  • dst.get(1).x = (float)(266 + Math.sin(theta*0.25)*10); // head
    3 KB (421 words) - 16:09, 17 January 2022
  • System.out.printf("%3d %3d = [ %f %f %f %f\n", p.x, p.y, d.data[0], d.data[1], d.data[2], d.data[3]);
    4 KB (534 words) - 13:53, 17 January 2022
  • BufferedImage colorX = VisualizeImageData.colorizeSign(derivX, null, -1);
    4 KB (525 words) - 16:01, 17 January 2022
  • Binary images are of type GrayU8 with pixel values of 0 or 1. If you display this image directly you will essentially see all black. T
    3 KB (544 words) - 18:55, 7 January 2019
  • GThresholdImageOps.localMean(input, binary, ConfigLength.fixed(57), 1.0, true, null, null, null); GThresholdImageOps.localGaussian(input, binary, ConfigLength.fixed(85), 1.0, true, null, null);
    5 KB (563 words) - 16:32, 17 January 2022
  • BlurFilter<GrayU8> filter = FactoryBlurFilter.gaussian(GrayU8.class, -1, 12);
    3 KB (487 words) - 12:05, 12 July 2021
  • Example File: [https://github.com/lessthanoptimal/BoofCV/blob/v1.1.0/examples/src/main/java/boofcv/examples/calibration/ExampleCalibrateFishey // 0 = pinhole camera. 1 = fisheye
    4 KB (473 words) - 19:04, 9 September 2023
  • // The histogram is already normalized so that it sums up to 1. This provides invariance // couple of pixels at scale of 1. Thus there is less overlap between the features.
    11 KB (1,268 words) - 16:14, 17 January 2022
  • Example File: [https://github.com/lessthanoptimal/BoofCV/blob/v1.1.0/examples/src/main/java/boofcv/examples/calibration/ExampleCalibrateStereo ...ConfigECoCheckMarkers.singleShape(/*rows*/ 9, /*cols*/ 7, /*markers*/ 1, /*square size*/ 30)));
    6 KB (777 words) - 19:07, 9 September 2023
  • Point3D_F64 ref = new Point3D_F64(0,0,1); mask.unsafe_set(x,y,1);
    5 KB (678 words) - 10:14, 12 July 2021
  • ** RADIOENGINEERING, VOL. 22, NO. 1, APRIL 2013
    4 KB (445 words) - 08:26, 4 March 2016
  • ...l made target and a decent camera reprojection error is typically around 0.1 pixels. ...s represent a 3D pointing vector with the implicit assumption that <math>z=1</math>, which is what limits the FOV. Wide camera models use spherical coor
    21 KB (3,300 words) - 09:17, 10 November 2022
  • ''Bounties are an opportunity to get a little bit [1] of money while helping out the development of BoofCV and the community as '''[1]''' The bounties are paid out of pocket and are not intended to compete wit
    10 KB (1,497 words) - 16:30, 14 October 2021
  • int pixelG = image.getBand(1).get(x, y); float red = Math.max(0, 1.0f - Math.abs(targetRed - pixelR)/radius);
    4 KB (562 words) - 15:01, 12 July 2021
  • || BoofCV || 0.33.1 || OpenCV || 4.0.1
    11 KB (1,754 words) - 14:59, 18 May 2019
  • config.disparity.validateRtoL = 1; config.scene.ransac.inlierThreshold = 1.0;
    5 KB (626 words) - 17:51, 2 September 2022
  • pcv.setTranslationStep(param.getBaseline()*0.1); pcv.setDotSize(1);
    5 KB (598 words) - 18:02, 2 September 2022
  • * [https://github.com/lessthanoptimal/BoofCV/blob/v0.40.1/examples/src/main/java/boofcv/examples/tracking/ExamplePointFeatureTracker. configDetector.general.threshold = 1;
    5 KB (692 words) - 12:01, 24 January 2022
  • ...You will need to replace $VERSION with the latest version of BoofCV, e.g. 1.0.0. If you just want image processing, with very few external dependencies {| border="1" width=600px cellpadding="4"
    6 KB (889 words) - 08:37, 21 August 2023
  • * [http://opencv.org OpenCV] (Ver. 4.0.1) * [https://github.com/dlbeer/quirc Quirc] (Feb 1, 2018. SHA 307473db)
    13 KB (2,136 words) - 07:38, 17 September 2019
  • new ConfigFastHessian(0, 2, 400, 1, 9, 4, 4), null, null, GrayF32.class); ...4> associate = FactoryAssociation.greedy(new ConfigAssociateGreedy(true, 0.1), scorer);
    7 KB (854 words) - 17:31, 17 January 2022
  • ...y difficult to write correctly and robustly. Bugs might only happen when a 1 in a million timing coincidence occur or only manifest in faster or slow ma
    6 KB (883 words) - 12:18, 8 March 2019
  • ...a video to process. Grab one of the examples above. Next you will need to 1) convert the video to a sequence of images, 2) downsample the images, 3) se
    5 KB (867 words) - 21:16, 7 April 2022