- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Maruthi Krishna has Published 951 Articles
Maruthi Krishna
630 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 the Standard Hough line transform using the HoughLines() method of the Imgproc class. ... Read More
Maruthi Krishna
652 Views
Morphological operations are the set of operations that process images according to the given shapes.Erosion − Erosion is a morphological operation during which pixels are removed from the image boundaries.Dilation − During is a morphological operation during which pixels are added to the image boundaries.Where the total number of pixels ... Read More
Maruthi Krishna
740 Views
The HighGui class of the org.opencv.highgui package allows you to create and manipulate windows and display them. You can display an image in a window using the imshow() method of this class. This method accepts two parameters−A string variable representing the name of the window.A Mat object representing the contents ... Read More
Maruthi Krishna
1K+ Views
Erosion and dilation are the two basic morphological operations. As the name implies, morphological operations are the set of operations that process images according to their shapes.During dilation operation additional pixels are added to an image boundary and, during erosion operation, additional pixels are removed from image boundaries, The total ... Read More
Maruthi Krishna
347 Views
Morphological operations are the set of operations that process images according to the given shapes. Erosion and dilation are the two basic morphological operations.During dilation, additional pixels are added to the image boundaries.During erosion, additional pixels are removed from the image boundaries.The total number of pixels added/removed depends on the ... Read More
Maruthi Krishna
484 Views
Morphological operations are the set of operations that process images according to the given shapes. Erosion and dilation are the two basic morphological operations.During dilation, additional pixels are added to the image boundaries.During erosion, additional pixels are removed from the image boundaries.The total number of pixels added/removed depends on the ... Read More
Maruthi Krishna
2K+ Views
The canny edge detector is known as optimal detector since it detects only the existing edges, gives only one response per page and minimizes the distance between the edge pixels and detected pixels.The Canny() method of the Imgproc class applies the canny edge detection algorithm on the given image. this ... Read More
Maruthi Krishna
965 Views
You can add text to an image using the putText() method of the org.opencv.imgproc.Imgproc class. This method renders the specified text in the given image. It accepts −An empty mat object to store the source image.A string object to specify the desired text.A Point object specifying the position of the ... Read More
Maruthi Krishna
202 Views
You can fit an ellipse over a shape using the fitEllipse() method of the org.opencv.imgproc.Imgproc class. This method accepts an object of MatOfPoint2f class, calculates the ellipse that would fit the given set of points and returns a RotatedRect object.Using this you can draw ellipses around the possible objects in an ... Read More
Maruthi Krishna
1K+ Views
Contours is nothing but the line joining all the points along the boundary of a particular shape. Using this you can −Find the shape of an object.Calculate the area of an object.Detect an object.Recognize an object.You can find the contours of various shapes, objects in an image using the findContours() ... Read More