Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with ApplyMask
12-25-2013, 08:54 PM
Post: #1
Issue with ApplyMask
This may be frutle but thought I would try. Having a random problem with loading a bitmap into VLApplyMask and displaying it using VLDSImageDisplay. My configuration is as follows.

VLDSCapture->VLMirror->VLApplyMask->VLGenericFilter->VLDraw->VLDSImageDisplay

I am changing the mask image then capturing a bitmap with VLGenericFilter. Fairly straight forward code..
Code:
if(DoingOverlay) {
            sprintf(backfile, "%s%02d%d.bmp", GrabForm->BorderPath, GrabForm->BorderNumber,ShotCount);
            VLApplyMask1->Picture->LoadFromFile(backfile); // this is where it barfs
        }
        //Have Delay here as I am using a timer to cycle through 4 shots
       VLGenericFilter1->Enabled = true; // Grab the frame

The attached image shows what happens and it's random, sometimes it works great but mostly it barfs. I had the issue with VideoLab 4.5 and upgrading to 5.0.1 didn't fix it. Hoping looking at the image will give you a hint as what is going on and if I can do anything to fix it. I know it's old but I'm stuck with it and have to make it work.

   
   
Quote this message in a reply
Post Reply 


Messages In This Thread
Issue with ApplyMask - BReeves - 12-25-2013 08:54 PM
RE: Issue with ApplyMask - BReeves - 12-26-2013, 07:20 PM
RE: Issue with ApplyMask - Dave - 12-29-2013, 02:22 AM
RE: Issue with ApplyMask - BReeves - 12-30-2013, 01:36 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)