UOMOP

Gaussian Selection Performance (CR : 1/6, 1/24, 1/96) (PS : 2) 본문

Main

Gaussian Selection Performance (CR : 1/6, 1/24, 1/96) (PS : 2)

Happy PinGu 2024. 3. 19. 15:18
import matplotlib.pyplot as plt

X = [0, 15, 30]

Y_0  = [15.795, 18.989, 19.363]
Y_25 = [15.723, 18.881, 19.243]
Y_50 = [15.713, 18.634, 18.945]
Y_75 = [15.448, 17.907, 18.111]
Y_1  = [12.096, 12.095, 12.096]

plt.plot(X, Y_0, 'o-', color='blue', label='MR = 0%')
plt.plot(X, Y_25, 's--', color='red', label='MR = 25%')
plt.plot(X, Y_50, '^-', color='green', label='MR = 50%')
plt.plot(X, Y_75, 'x:', color='magenta', label='MR = 75%')
plt.plot(X, Y_1, '+-', color='cyan', label='MR = 100%')

plt.title('Compression Ratio : 1/96, Patch Size : 2')
plt.xlabel('SNR(dB)')
plt.ylabel('PSNR')
plt.ylim([0, 40])
plt.legend()
plt.grid(True)
plt.show()

 

 

 

 

 

import matplotlib.pyplot as plt

X = [0, 15, 30]

Y_0  = [18.183, 22.809, 23.474]
Y_25 = [18.103, 22.292, 22.858]
Y_50 = [17.849, 21.223, 21.676]
Y_75 = [17.213, 19.238, 19.481]
Y_1  = [12.095, 12.096, 12.097]

plt.plot(X, Y_0, 'o-', color='blue', label='MR = 0%')
plt.plot(X, Y_25, 's--', color='red', label='MR = 25%')
plt.plot(X, Y_50, '^-', color='green', label='MR = 50%')
plt.plot(X, Y_75, 'x:', color='magenta', label='MR = 75%')
plt.plot(X, Y_1, '+-', color='cyan', label='MR = 100%')

plt.title('Compression Ratio : 1/24, Patch Size : 2')
plt.xlabel('SNR(dB)')
plt.ylabel('PSNR')
plt.ylim([0, 40])
plt.legend()
plt.grid(True)
plt.show()

 

 

 

 

 

import matplotlib.pyplot as plt

X = [0, 15, 30]

Y_0  = [21.347, 28.538, 29.857]
Y_25 = [20.832, 25.673, 26.201]
Y_50 = [20.036, 22.554, 22.841]
Y_75 = [18.482, 19.617, 19.743]
Y_1  = [12.095, 12.096, 12.094]

# 각각의 그래프에 다른 색상을 지정
plt.plot(X, Y_0, 'o-', color='blue', label='MR = 0%')
plt.plot(X, Y_25, 's--', color='red', label='MR = 25%')
plt.plot(X, Y_50, '^-', color='green', label='MR = 50%')
plt.plot(X, Y_75, 'x:', color='magenta', label='MR = 75%')
plt.plot(X, Y_1, '+-', color='cyan', label='MR = 100%')

# Title and labels with updated limits
plt.title('Compression Ratio : 1/6, Patch Size : 2')
plt.xlabel('SNR(dB)')
plt.ylabel('PSNR')
plt.ylim(0, 40)
plt.legend()
plt.grid(True)
plt.show()

Comments