Maruthi Krishna has Published 951 Articles

How to add borders to an image using Java OpenCV library?

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 11:21:30

348 Views

You can add borders to a given image using the copyMakeBorder() method, this method accepts the following parameters −Two Mat objects representing the source and destination images.An object of the class Mat representing the destination (output) image.Four integer variables representing the lengths of the borders in all the 4 directions ... Read More

Explain OpenCV Adaptive Threshold using Java Example

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 11:19:06

808 Views

Thresholding is a simple technique for the segmentation of an image. it is often used to create binary images. In this, the pixels greater than a given threshold value will be replaced with a standard value.Adaptive thresholding is the method where the threshold value is calculated for smaller regions and ... Read More

Explain OpenCV Simple Threshold using Java Example

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 11:16:54

252 Views

Thresholding is a simple technique for the segmentation of an image. it is often used to create binary images. In simple thresholding, the pixels greater than a given threshold value will be replaced with a standard value.The threshold() method performs the simple threshold operation on the given image. Following are ... Read More

Java example demonstrating Scharr edge detection in OpenCV.

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 11:14:27

172 Views

The Scharr operator for edge detections allows you to find the edges in a given image in both horizontal and vertical directions.The Scharr() method of the Imgproc class applies the Scharr edge detection algorithm on the given image. This method accepts −Two Mat objects representing the source and destination images.An integer ... Read More

Java example demonstrating Sobel edge detection in OpenCV.

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 11:06:25

627 Views

The Sobel operator for edge detections allows you to find the edges in a given image in both horizontal and vertical directions.The Sobel() method of the Imgproc class applies the Sobel Edge Detection algorithm on the given image. This method accepts −Two Mat objects representing the source and destination images.An ... Read More

Explain OpenCV Distance Transformation using java Example

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 11:03:37

195 Views

The distance transform, in general, is a derived representation of a digital image. In this operation, the gray level intensities of the points inside the foreground regions are changed to distance their respective distances from the closest 0 value (boundary).The distanceTransform() method of the Imgproc class applies Distance Transform on ... Read More

Explain OpenCV Laplacian Transformation using java Example

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 11:01:24

223 Views

The Laplacian transform on an image highlights the regions where there is a rapid intensity change. Therefore, it is used to detect edges.The Laplacian() method of the Imgproc class applies Laplacian Transform on the given image, this method accepts −Two Mat objects representing the source and destination images.Four integer variables ... Read More

Histogram equalization on an image in OpenCV using Java.

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 10:58:41

521 Views

The histogram of an image shows the frequency of pixels’ intensity values. In an image histogram, the X-axis shows the gray level intensities and the Y-axis shows the frequency of these intensities and improves the contrast of an image.The equalizeHist() method of the Imgproc method accepts to Mat objects representing ... Read More

Java implementation of OpenCV Hough Circle Transform.

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 10:55:03

571 Views

You can detect circles in a given image using the Hough circle transform. You can apply Hough Circle transform using the HoughCircles() method, this method accept the following parameters −A Mat object representing the input image.A Mat object to store the output vectors of the found circles.An integers variables representing ... Read More

OpenCV Probabilistic Hough Line Transform implementation in Java.

Maruthi Krishna

Maruthi Krishna

Updated on 13-Apr-2020 10:52:25

164 Views

You can detect straight lines in a given image using the Hough line transform. There are two kinds of Hough Line Transforms available in OpenCV namely, Standard Hough line transform and, Probabilistic Hough Line Transform.You can apply Probabilistic Hough line transform using the HoughLinesP() method of the Imgproc class, this ... Read More

Advertisements