rs_image_decoded = odbiornik.decode_reed_salomon(rs_gilbert_image, myImg.shape) plt.figure('Model Gilberta po zastosowaniu kodu Reeda Salomona') plt.imshow(rs_image_decoded) plt.show() tmr_gilbert_image = kanal.pass_gilbert(tmr_image) myImgTMRGilbertdec = odbiornik.decode_tmr(tmr_gilbert_image, myImg.shape) plt.figure('Model Gilberta po zastosowaniu potrojnej redundancji') plt.imshow(myImgTMRGilbertdec) plt.show() hamming_img = koder.encode_hamming_code(myImg) hamming_bsc_image = kanal.pass_bsc(hamming_img) hamming_img_decoded = odbiornik.decode_hamming_code(hamming_bsc_image, myImg.shape) plt.figure('Binary Symmetric Channel po zastosowaniu kodu Hamminga') plt.imshow(hamming_img_decoded) plt.show() hamming_gilbert_image= kanal.pass_gilbert(hamming_img) hamming__gilbert_img_decoded = odbiornik.decode_hamming_code(hamming_gilbert_image, myImg.shape) plt.figure('Model Gilberta po zastosowaniu kodu Hamminga') plt.imshow(hamming__gilbert_img_decoded) plt.show() hamming_img = koder.encode_hamming_code(myImg) hamming_img_interleaved = kanal.pass_interleave(hamming_img) hamming_gilbert_img_interleaved = kanal.pass_gilbert(hamming_img_interleaved) hamming_gilbert_img_interleavedx2 = kanal.pass_interleave(hamming_gilbert_img_interleaved)