<div dir="ltr">Hi all, <div>I am trying to create a composite filter for a 4D dataset that will use different cascaded 2D filters on the inside. For this, I have created a double std vector that holds all the 2D filters. I have also set some param setters for this filters (that perform a double for inside, setting the param to each filter and then calling modified() on the outside one). I have another method called UpdateNumberofFilters, that depending on 2 ints (num of Z slices, num of T timeframes) will push back more filters to the 2D array of filters.</div>
<div>My problem is that I dont know which function should call the UpdateNumofFilters. It should be done before the setters but after the constructor and after setting those two ints. I want to design it so that if I change a param after calling update I dont have to run the whole filter again, so I dont want it to be under the GenerateData() method.</div>
<div><br></div><div>Thank you very much for your insights.</div><div><br></div><div>Ignacio Prieto</div><div><br></div><div> --</div><div>Ignacio Prieto</div><div>Research Assistant</div><div>Biomedical Imaging Center</div>
<div>Pontificia Universida Catolica de Chile<br clear="all"><div><br></div><br></div></div>