Ask Your Question

bertmg's profile - activity

2020-02-25 09:38:43 -0600 received badge  Popular Question (source)
2015-01-14 18:53:50 -0600 received badge  Scholar (source)
2015-01-14 18:53:42 -0600 commented answer How to encode jpeg images with same huffman and quantization tables in OpenCV?

thanks for the help. Turns out their headers are already the same as long as i dont change the encoding parameters.

2015-01-14 18:50:50 -0600 received badge  Supporter (source)
2015-01-14 09:38:45 -0600 commented answer How to encode jpeg images with same huffman and quantization tables in OpenCV?

sorry i didnt quite get what u mean. Do u mean imencode on the combined image or separately? how do i encode them with same header? thx

2015-01-14 01:47:18 -0600 received badge  Editor (source)
2015-01-13 22:44:37 -0600 commented answer How to encode jpeg images with same huffman and quantization tables in OpenCV?

thanks for the reply. but there is a slight complication that I cannot send both image at the same time. For example, img 1 is sent first, and whether or not to send img 2 depends on the receiver's condition. The same pattern continues to img 3, 4, etc.

2015-01-13 20:23:10 -0600 asked a question How to encode jpeg images with same huffman and quantization tables in OpenCV?

Hi, I'm pretty new to opencv and image processing, so please forgive me if im asking something really silly.

I would like to know if its possible to tell the encoder to use certain huffman table and quantization table when encoding jpeg, so that I can encode multiple images (of same size, component, etc.) with their headers interchangeable.

Basically I'm trying to send a image block by block after splitting it first. And it would be very convenient if they all share the same header so i dont need to send them multiple times. I assume that as long as I can specify the Huffman and Quantization tables they use, they would end up with the same header?

  • Edit: I cant simply put the images in a single Mat and encode them as 1 big image, because whether or not to send the next one depends on the result of the previous image sent. So I have to send them separately.