Intel® Integrated Performance Primitives

Deconv LR method - Restoring pixel borders (reducing ringin effect)

Hi 

I tried the LR deconv method from IPP and got it working. However, I am not sure as to what I should use to restore the pixel border before calling this function ? I use edgetaper in matlab for this purpose otherwise I get the ringing effect on my deblurred result. 

Kindly help with some code snippets that demonstrates how this ringign effect is taken care in IPP ? 

Thanks

Saumya

What is the best way to get a YV12 video frame into a YUY2 one?

Dear all,

my former colleague selected the video decoder to deliver a YUY2/UYVY 4:2:2 composite format as video frame while the video input format is YV12 4:2:0.

Then I do some scaling and some colors of the genuine video turn to wrong ones. See the attached picture with screenshots from the genuine video and from the shown one by our IPP based decoder software.

What is the best way to correct this fault?

ColorTwist saturation giving wrong results

I am using ColorTwist for image saturation manipulation. The image is 8u 3c.

[c]

// BGR to RGB

int swapStep;

Ipp8u* swap = ippiMalloc_8u_C3(roi.width, roi.height, &swapStep);

int swapOrder[] = { 2, 1, 0 };

status = ippiSwapChannels_8u_C3R(img, lineStep, swap, swapStep, roi, swapOrder);

// convert to float and scale 0.f - 1.f

int imgFStep;

ippiResizeCenter equivalent

I am facing a similar situation to this poster;

http://software.intel.com/en-us/forums/topic/305657

I am trying to achieve zoom effect using the resize mechanism. It works, but the image is also shifted. There is no equivalent to the function ippiResizeCenter anymore as it is deprecated. How can I achieve zoom effect?

Can Mpeg2FrameConstrutor detect changes in aspect ratio? solved!

Edit: Solved by using GetInfo() from the decoder.

I have a live stream that changes aspect ratio on-the-fly, I try to detect that with following the code but it don't work.

m_framer are an instance of Mpeg2FrameConstructor.

UMC::VideoStreamInfo* vinfo = (UMC::VideoStreamInfo*) m_framer.GetInfo()->m_pStreamInfo;

if (vinfo->videoInfo.m_iSAWidth  != lastSAWidth) {

}

This is done for every frame from the framer.

Is this supposed to work or are there a better way?

Any help is appriciated

Thanks

Change color value of pixels

I am looking for a function to do selective change of colors in an image.

I have a RGB 32 image. It basically is white text with black back. I am looking for IPP function or set of functions that can accomplish this:

1. I will provide pixel treshlold for color change. Basically the treshold value is 0xFF (white). Hence say 0xFFFFFF.

2. Now, having provided this value, change the color of all pixels that match 0xFF to any other value I want to.

How can I accomplish this with IPPI library?

How can I decrease the performance load for video frame scaling by IPP?

Dear all,

at the moment my video decoder delivers frames in UYVY. Then a color conversion from UYVY to YUY2 is done. After this the video frame is scaled by an IPP call from 352x288 to 800x600. At last the color conversion from YUY2 back to UYVY is done to have the frame ready for Windows' Blt() call.

Seiten

Intel® Integrated Performance Primitives abonnieren