Hi,
I'm currently facing a problem using imwrite function to save frames from a camera (in .tiff format).
My application needs to save 20 frames per second. Everything works fine for the 50 000 first images but after my FPS decrease drastically and increase again around 100 000 images saved.
Here is an image showing the behaviour :
The problem is exactly reproducible (same shape, decrease at 50 000 and increase again at 100 000), and I try my application on a different HDD (with a different size) with the same issue. By putting timers in my code I know that's the imwrite function which is slower during some periods but I don't know why.
I really can't figure out why I get this behaviour. Then if you've got some ideas or solutions to offer...
Thanks for your help
Lucas