Forum Discussion
Tone Mapping Operator IP Malfunctioning
- 11 months ago
Hi @dscully David,
Does this IP have undocumented restrictions on input resolution?
>> Yes, there is restrictions on the input resolution.
For the input width, it needs to be multiple of the pixels in parallels (PIP) and the number of internal tiles (it is fixed as 4)- So, if PIP = 4 and Number of tiles = 4, then the width needs to be multiple of 4x4 = 16
- For the given two widths you could see that condition is not met, 1944/16 = 121.5 and 3268/16=204.25
- I suggest your to try: 1952 for the first case,
- and 3280 for the second case, then if need be, you could use a clipper to put the width back to your desired width.
- For the input height, it needs to be multiple of the number of internal tiles (it is fixed as 4)
- In this case, your current values are both fine.
Regards,
Wincent_Altera
Hi Wincent,
Thank you for this information. I used a upstream clipper to experimentally arrive at a similar ruleset. My findings are slightly different as the rule appears to be:
Resolution must be (N*8*PIP) x (M*8), where N and M are integers
For PIP=4: N*32 x M*8
For example:
Testing height rule:
1920x1080 (div by 4,8): Working
1920x1076 (div by 4): Looks ok at first, but image flickers on certain scenes
1920x1072 (div by 4,8): Working
Testing width rule:
1920x1080 (div by 16,32): Working
1904x1080 (div by 16): Creates 4 vertical white lines spaced across the screen
1888x1080 (div by 16,32): Working
I am not sure why I need double your recommendations but with this rule I can proceed evaluating the TMO IP.
I highly recommend that this rule be stated in the next revision of the "Video and Vision Processing Suite IP User Guide" so that others do not run into this issue. I have a feeling that there is a similar rule needed for the Warp IP as I had issues using it while warping at 798x798 image until I switched to 800x800.
Thank you for your support,
David
Hi David,
Thanks for experiment this and providing such valuable information on how your resolve the problem.
I will feedback this to our IP designer, thanks again
Regards,
Wincent