abhijeet3922 / Change-Detection-in-Satellite-Imagery

It employes Principal Component Analysis (PCA) and K-means clustering techniques over difference image to detect changes in multi temporal images satellite imagery.
https://appliedmachinelearning.wordpress.com/2017/11/25/unsupervised-changed-detection-in-multi-temporal-satellite-images-using-pca-k-means-python-code/
160 stars 66 forks source link

big images change detection #3

Open jaigsingla opened 4 years ago

jaigsingla commented 4 years ago

Hi,

This code works well for smaller datasets . but, for bigger images, what shall be resize settings as it is throwing warning of decompression bomb dos attack and error of could not broadcast input array from shape(100) into shape (25) line 19. Images are resized to [20025 11590 0] and vector set shape to (2320897, 100)

2) Second part Can we generate stats like how much area is impacted in terms of sq meters etc 3) Is it possible to measure changes in classified sections like urban area, land, vegetation etc?

jaigsingla commented 4 years ago

I could run the code by converting image to greyscale but new error is flashing pca.py 398 invalid value encountered in divide ?

Akshaypatil7 commented 4 years ago

@jaigsingla did you solved the problem? I am facing the same issue

kunal-18 commented 4 years ago

This whole code is not working properly. And I didn't get the results as shown in the depository through applying the same code and the same image.