Ask Your Question
0

Question about .tiff

asked 2020-02-20 02:37:26 -0600

NL37 gravatar image

updated 2020-10-24 04:02:54 -0600

Hello the community,

Acutally, I use a Gige camera to capture images. The SDK´s camera allows to use OpenCV. So, I handle my image with OpenCV, and I save it with the function imwrite, with .tiff.

I need to keep all the information, so my question is : Is there information´s losses ? Because there is different types of .tiff, and some are compressed.

Thank you !

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2020-02-20 03:05:32 -0600

mvuori gravatar image

The whole point of TIFF instead of JPEG is that it usually uses lossles compression, and that is the case with OpenCV, which uses LZW compression method. (Lossy TIFF compression does exist, but those are rare, special cases).

(Nowadays PNG often replaces TIFF as it offers more control over lossless compression.)

edit flag offensive delete link more

Comments

Many thanks for you answer.

I need to use .tiff without any compression. How can I do with openCV ?

Thank you

NL37 gravatar imageNL37 ( 2020-02-20 03:35:53 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-02-20 02:37:26 -0600

Seen: 729 times

Last updated: Feb 20 '20