nazneen Posted February 22, 2015 Report Share Posted February 22, 2015 I am doing my mini project in labview..all I have done till now is--> captured image using basler sc-A640 camera and read the pixel value...how do I compress this image?? Quote Link to comment
JKSH Posted February 22, 2015 Report Share Posted February 22, 2015 (edited) Hi, Have you already chosen the type of compression that you want to apply? How do you plan to use the compressed image(s)? Here's one possibility: http://www.ni.com/example/30667/en/ Edited February 22, 2015 by JKSH 1 Quote Link to comment
nazneen Posted February 22, 2015 Author Report Share Posted February 22, 2015 I did chose yet...the sing I picture quality is not so good...which compression techniques would be better...i am new to labview.. Quote Link to comment
JKSH Posted February 22, 2015 Report Share Posted February 22, 2015 I did chose yet...the sing I picture quality is not so good...which compression techniques would be better...i am new to labview.. Which technique is better? That depends on what you want to do with the image. Can you describe your project in more detail, and tell us how you want to use the image? Quote Link to comment
nazneen Posted February 22, 2015 Author Report Share Posted February 22, 2015 Real Time image compression...image that I captured from Basler cam is in .png format ....649*494 size( not exact)..i have to compress ghis image without much degradation in the image quality....its a three months project..not much familiar with labview Its enough if I compress the images as of now...using those compressed images can be extended for phase 1 of final year ...thanks Quote Link to comment
ThomasGutzler Posted February 23, 2015 Report Share Posted February 23, 2015 Really, the Basler API presents you image data in png format? Interesting. PNG is already compressed. You're done! Congratulations If you want lossy compression instead, you need to first convert png back to bmp or some sort of raw format and then pass that into your new compression library - unless that library accepts png format. If this is a final year project, you should be doing more research on that instead of asking what's best. Also, your "." key seems to be broken Quote Link to comment
JKSH Posted February 23, 2015 Report Share Posted February 23, 2015 Ok, let me check that I've understood you correctly: You want to compress the image and save it to your hard drive, to view the image in the future. Is that correct? Can you explain what you mean by "real time"? image that I captured from Basler cam is in .png format ....649*494 size( not exact). One thing isn't clear to me: How did you produce this .png image? PNG is one of the many image compression formats out there. So, if you have a PNG image, that means it's already compressed. i have to compress ghis image without much degradation in the image quality You will need to strike a balance between image quality and compression size. For example, see the Write JPEG File compression VI: http://zone.ni.com/reference/en-XX/help/371361L-01/lvpict/write_jpeg_file/ It lets you choose image quality. If you choose "high quality", you will get less degradation, but a bigger file size. Note also that PNG is not optimized for compressing photographs, while JPEG was designed for compressing photographs. Quote Link to comment
nazneen Posted February 24, 2015 Author Report Share Posted February 24, 2015 Its not a final year project, its a laboratory project. I know that .png is compressed format, my guide asked me to compress the image further. I am scared that I am being misguided, as the image quality is not so good and compressing it further would be a total waste. Can I design a barcode reader using that cam?? And thomasgutzler sir, bingo I already knew that .png is a compressed format. Its NOT a final year project. I am asking for help because I am new to labview. Thanks anyways:) and yup my '.' Key is working fine, thanks for your concern Quote Link to comment
ShaunR Posted February 24, 2015 Report Share Posted February 24, 2015 (edited) Its not a final year project, its a laboratory project. I know that .png is compressed format, my guide asked me to compress the image further. I am scared that I am being misguided, as the image quality is not so good and compressing it further would be a total waste. Can I design a barcode reader using that cam?? And thomasgutzler sir, bingo I already knew that .png is a compressed format. Its NOT a final year project. I am asking for help because I am new to labview. Thanks anyways:) and yup my '.' Key is working fine, thanks for your concern There is an example of image compression (using wavelets) in the Advanced Signal Processing toolkit. As it's a no brainer it wouldn't matter if you are being "misguided". Edited February 24, 2015 by ShaunR Quote Link to comment
nazneen Posted February 24, 2015 Author Report Share Posted February 24, 2015 thank you so much sir i hope my guide approve this. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.