Image accumulation using comp ops.

   2397   5   0
User Avatar
Member
23 posts
Joined: Dec. 2013
Offline
Hey everyone!

I've got the following issue: the task it pretty straightforward , i've got a sequence of images that i'd like to accumulate ( Max comp mode basically ) , so i've made one file node reading initial sequence , another reading previous frame accumulation result and finally rop node writing this frame operation to accumulated images sequence.As simple as that

http://prntscr.com/9xa0hf [prntscr.com]

Initial sequence file name pattern : $F.png
Accumulated sequence file name pattern : acc_`$F-1`.png
This frame accumulated image pattern : acc_$F.png

So it should work, i've no idea what's wrong ( but i'm sure it's my ignorance not Houdini's ) Eventually i've got just initial sequence frames copied as if no cop was used at all…So if anyone has an idea…will be hugely appreciated!

Thx!

P.S : i've got the scene attached, just in case^^)

Attachments:
ImageAccumulation.hiplc (41.8 KB)

User Avatar
Member
23 posts
Joined: Dec. 2013
Offline
Alright…seems that cops aren't that popular nowadays
User Avatar
Staff
5156 posts
Joined: July 2005
Offline
Click the “Reload all Files” button in the Composite Output ROP (bottom of Composite tab), otherwise it'll use a cached version of the file for $F.
User Avatar
Member
23 posts
Joined: Dec. 2013
Offline
Wow thx , will give it a try !
Edited: Well , unfortunately it didn't help either, even with a flag set Houdini kept writing result as a copy of current frame withough any COP being made , and if i manually reload accumulated sequence , it just crashed…alright i think i'll make it in other image processing tool Thanks for help anyway !
User Avatar
Member
23 posts
Joined: Dec. 2013
Offline
Heh , me stupid…found a simple workaround One constant file is being used for storing accumulated values, and a separate frame-realted file is saved in the same rop with an Auxailiary output with a $F expression.
User Avatar
Member
2 posts
Joined: June 2022
Offline
Hello !
I know this thread is quite old in fact, but I'm having right now the exact same problem that you had !! Chances are, you no longer have the hip file... But, would you mind maybe explaining a bit further how you managed to accumulate images that way??
  • Quick Links