Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.

0
votes
0answers
51 views

Get information about current coordinates and rgb values in openCV window

I have started to learn OpenCV python library for remote sensing data processing. And when I open window by: cv2.imshow I can't know x,y coordinate and RGB values in current mouse position. How to ...
0
votes
0answers
34 views

Registration of stereo pairs?

I am trying to generate DSM and orthorectify the satellite images by myself without using any photogrammetry software. However, primary products are not aligned and I could not register them to ...
1
vote
1answer
102 views

Seeking Open Source implementation of Majority Filter?

I am performing postprocessing on Landsat GeoTIFF images and want to use the Majority Filter as mentioned in the book on Image Analysis, Classification and Change Detection in Remote Sensing and ...
1
vote
0answers
155 views

Raster alignment

I have a problem with raster aligning. Given: Two rasters that need to be aligned. Rasters a little bit shifted, scaled and rotated. Two arrays of matched keypoints. Transformation is wrong, so ...
0
votes
2answers
2k views

How to save numpy array as single band image?

I'm working on MODIS NDVI composite data (single band). I converted the image to a numpy array and performed filtering operations. When i'm saving the new numpy array as an image I get a 3 band image ...
1
vote
0answers
309 views

How to loop the kernel for covering all pixels from a raster in 5x5 convolution window by using OpenCV? [closed]

Here, I have python code which is helping me in selecting 5 by 5 window from upper left corner of a raster (.tif). I want a process to automate through entire image in 5 by 5 convolution window. ...
2
votes
0answers
196 views

reading 13 bands (Sentinel 2A) .tif image in cv::Mat (opencv C++)

I want to read 13 bands of a .tif image in separate cv::Mat objects for processing. I have tried reading it with opencv imread() function but it fails to load it. Also, I have used libtiff but I am ...
5
votes
2answers
1k views

Detecting overlapping blobs in image?

I have read the following two posts related to my question; however, my problem is slightly different and I'm having a hard time solving it. Finding if two polygons Intersect in python? Getting ...
0
votes
1answer
581 views

GDAL, python: How to create a GDAL dataset object from a numpy array

I am working on a program that uses both OpenCV and GDAL to perform different tasks. OpenCV stores its images as numpy arrays. I would like to be able to go directly from this numpy array to a dataset ...