Image-Encryption-Chaos-Maps icon indicating copy to clipboard operation
Image-Encryption-Chaos-Maps copied to clipboard

About the Adjacent Pixel Auto-Correlation

Open U4ay07 opened this issue 2 years ago • 2 comments

In the Adjacent Pixel Auto-Correlation for Arnold Cat it is giving an error telling that color is not defined in getImageMatrix_gray() function. The error was like this: NameError Traceback (most recent call last) in () 1 image = "HorizonZero" 2 ext = ".png" ----> 3 ImageMatrix,image_size = getImageMatrix_gray(image+ext) 4 samples_x = [] 5 samples_y = []

in getImageMatrix_gray(imageName) 9 row.append((pix[width,height])) 10 image_matrix.append(row) ---> 11 return image_matrix, image_size[0], image_size[1],color

NameError: name 'color' is not defined

While I did do some changes in getImageMatrix_gray() function it was still showing some other error.

U4ay07 avatar Apr 16 '22 06:04 U4ay07

In the Adjacent Pixel Auto-Correlation for Arnold Cat it is giving an error telling that color is not defined in getImageMatrix_gray() function. The error was like this: NameError Traceback (most recent call last) in () 1 image = "HorizonZero" 2 ext = ".png" ----> 3 ImageMatrix,image_size = getImageMatrix_gray(image+ext) 4 samples_x = [] 5 samples_y = []

in getImageMatrix_gray(imageName) 9 row.append((pix[width,height])) 10 image_matrix.append(row) ---> 11 return image_matrix, image_size[0], image_size[1],color

NameError: name 'color' is not defined

While I did do some changes in getImageMatrix_gray() function it was still showing some other error.

same issue happen in my side how can we solve this one do u know then reply me asap.

kalpitpatel4999 avatar Sep 27 '22 13:09 kalpitpatel4999