Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

seamlessClone runtime proportional to image size?

I have been playing with the new seamlessClone function in OpenCV3. Of course the runtime is proportional to the size of the hole that is selected. However, I've found that with a fixed hole size, when the size of the image increases, the runtime increases substantially. For example, if I fill a 200x200 hole in a 500x500 image, it takes < 1 second. Then if I fill a 200x200 hole in a 3000x3000 image, it takes 20 seconds. (The 500x500 was a cropped version of the 3000x3000 so that the hole and source could be identical for testing to make sure it wasn't a function of the data in the hole, etc.). Can anyone confirm this behavior?

Thanks,

David

seamlessClone runtime proportional to image size?

I have been playing with the new seamlessClone function in OpenCV3. Of course the runtime is proportional to the size of the hole that is selected. However, I've found that with a fixed hole size, when the size of the image increases, the runtime increases substantially. For example, if I fill a 200x200 hole in a 500x500 image, it takes < 1 second. Then if I fill a 200x200 hole in a 3000x3000 image, it takes 20 seconds. (The 500x500 was a cropped version of the 3000x3000 so that the hole and source could be identical for testing to make sure it wasn't a function of the data in the hole, etc.). Can anyone confirm this behavior?

Thanks,

David