Set white Frame to a Picture

You can post your problem related to LabView Projects here. We will try our best to help you out.
Rogers
Posts:8
Joined:Sat Feb 18, 2017 7:39 am
Set white Frame to a Picture

Post by Rogers » Mon Mar 06, 2017 1:02 pm

I want to add a white frame with one Pixel thickness to a picture in order to separate particles from the image border. I need a gradient completely surrounding each particle, which isn't the case if they touch the image border.

I made a VI which reads an Image, and then makes an array filled with zeros in the dimensions of the picture plus two in each dimension. Then I convert that array into a picture which is two pixels bigger in x and y each than the input picture, and completely white.
Then I copy the first picture in the white one, with an offset of 1;1. This VI should put a white Frame onto my picture which it doesnt. Can somebody tell me what I did wrong?

Thanks for any help.

Post Reply