Posts
Color Segmentation: County Map
This is an example of how color segmentation can be used to extract useful information from a map. In this case we will delimit county boundaries in the following map. Once again we will use the ideas described in this wonderful tutorial to find the appropriate color ranges and segment the features we need. Click here to access the original notebook.
Color Segmentation: Pills
Color segmentation is very useful in many classic image analysis tasks. This is a simple real-world example of how color information can be used to find objects in an image. The following code is based on this great tutorial that you should definitely check out!
OpenCV Remap Inverse
The remap function in OpenCV applies a generic geometrical transformation using a mapping that can be difficult to invert. In this example we’ll show a solution to the problem of finding an inverse mapping which is based on a very ingenious idea proposed here.
The mapping used here transforms the image from an equirectangular projection to a rectilinear projection and it is applied using the Equirec2Perspec package which can be found here. The inverse of this mapping can be calculated analytically but our purpose here is to show a method that can be used for any mapping.
subscribe via RSS