2019-06-14 01:33:42 -0600 | received badge | ● Famous Question (source) |
2018-07-11 16:16:29 -0600 | received badge | ● Notable Question (source) |
2017-12-20 06:34:09 -0600 | received badge | ● Popular Question (source) |
2014-04-10 05:33:46 -0600 | commented answer | Encode image in JPG with OpenCV avoiding the artifacts effect Mmm no... I need to send the image when is encoded and after I recieve it, I can decode and show it.. |
2014-04-10 05:19:15 -0600 | commented answer | Encode image in JPG with OpenCV avoiding the artifacts effect Yes maybe because you use 100% of quality or maybe because you use a file a not a frame from a webcam. You code is the same of mine, cannot help me. |
2014-04-10 04:52:57 -0600 | asked a question | Encode image in JPG with OpenCV avoiding the artifacts effect I have an application (openCV - C++) that grab an image from webcam, encode it in JPG and trasmitt it from a Server to Client. Thwebcam is stereo so actually I have two image, LEFT and RIGHT. In the client, when I recieve the image I decode it and I generate an Anaglyph 3D Effect. For do this I use the OpenCV... Well I encode the image in this way: and decode in this way: What I see is that this kind of encode generate in the Anaglyph image a "ghost effect" (artifact?) so there is a bad effect with the edges of the object. If look a door for example there a ghost effect with the edge of the door. I'm sure that this depends of the encode because if I show the Anaglyph image before encode instruction this work well. I cannot use the PNG because it generate to large image and this is a problem for the connection between the Server and the Client. I look for the GIF but, if I understood good, is nt supported by the cv::encode function. So there is another way to encode a cv:Mat obj in JPG withou this bad effect and without increase to much the size of the image? |