03-06-2017 06:51 AM
Hey
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.
Solved! Go to Solution.
03-06-2017 07:18 AM
03-06-2017 07:23 AM - edited 03-06-2017 07:29 AM
Thanks for noting the wrong pixel value, but since my VI doesnt add any frame, this wasnt the issue.
I dont want to remove any particles.
03-06-2017 07:27 AM
03-06-2017 07:59 AM
Edit Timedout. Use below snippet: