I could not find a sample code for this function. I notice some one asked on the clarification on the pHistoryWeight paramters:
pHistoryWeight contains the history weight for every block in the picture, the weight is used for blending in case of static content:
destination_pixel = ((previous_picture_pixel - current_picture_pixel) * history + current_picture_pixel * 256 + 128) / 256;
If theres no previous picture (the first picture in the sequence is being processed), the pHistoryWeight array is uniformly filled by the function with the value of pInParam->HistoryWeight, and is further updated inside the function, with no interference required from the user
Hope it can help.
The size of the array should be not less than:
((srcRoiSize.width + pInParam->BlockWidth - 1)/ pInParam->BlockWidth)*(( srcRoiSize.height + pInParam->BlockHeight - 1)/ pInParam->BlockHeight)
not able to understand how I should set up the ppState ? I have
earlier used DenoiseCAST, and there the supporting structure was well defined.
Is there any structure definition for DenoiseAdaptive too?
Please advise. It would also be a great help if someone can give a small
example of how to set the varions parameters for DenoiseAdaptive before
calling this function.....
since my last mail, I was able to successfully implement the routine
to perform adaptive denoising using the FilterDenoiseAdaptive function.
However, I am totally at loss at the amout of control that I have over the
denoising. Is there a way I can control the amount things other than the mask
size and threshold? Based on my experience with CAST, there were many parameters,
all of which I do not understand (I hava asked for a reference in an earlier enquiry),
but still I could see the effect it had on the images. I would be happy if one of the
experts could comment.
In a related issue, I have to process a stach of 200 images. Any recommendations on the
issue of speed (FilterDenoiseAdaptive is considerably slower than CAST) would also be