Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compressing Matrix
#1
I want to compress a gray image whose dimension is 64x64 into 40x40 image

I tried scipy.fftpack.dct and scipy.fftpack.idct but the resulted image is not in high quality

Also tried numpy.savez_compressed the resulted image quality is very good but it has two disadvantage, One it save the compressed array in a file !!! I dont need it to save the compressed array in a file and the other disadvantage is that the compressed array dimension is arbitrary and not controlled


Does anyone know how to compress a gray image in a pre specified dimension compressed array with high quality and without saving it in a file ?
Reply


Messages In This Thread
Compressing Matrix - by RamyMaher - May-27-2018, 02:45 PM
RE: Compressing Matrix - by killerrex - May-27-2018, 04:18 PM
RE: Compressing Matrix - by RamyMaher - May-29-2018, 07:04 PM
RE: Compressing Matrix - by killerrex - May-29-2018, 08:41 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020