10-02-2020 07:06 AM
I'm working on an example and want to turn this picture into the angle I want. But I have no idea how this will happen. Has anyone had problems with this problem before?
Every opinion on this matter is worth respecting.
Solved! Go to Solution.
10-02-2020 12:13 PM
Hi worker,
your VI is missing a subVI "Load Bitmap from File"…
@constructionworker wrote:
I'm working on an example and want to turn this picture into the angle I want. But I have no idea how this will happen. Has anyone had problems with this problem before?
Which problem are you asking for? The problem of "having no idea"? 😄
In your VIs there is nothing related to "angles". Which angle do you want to "turn" (aka rotate!?) your picture?
What about using 3rd party tools and call them using SysExec?
10-02-2020 02:03 PM
Hi,Sir Gerdw
The way I asked questions seemed a little confusing.excuse me.
I can read the png file from the file and convert it to a bitmap, but I want to turn this uploaded photo 360 degrees. I want to turn it to the angle I want with a numerical control.
I don't understand the situation you want to mean by 3rd party tools and SysExec.
What I want to do is read a png image file from the target and convert it to a bitmap, and simultaneously rotate this photo to the desired angle with a numerical control.
Best regards
Worker
10-02-2020 03:46 PM - edited 10-02-2020 03:55 PM
I can read a png and turn it into a cluster and get a flattened pixel and return it with the numeric control.
An example of this is attached below
How do I rotate a stuck dot bitmap photo? The problem is I can't find exactly how to use it in the bitmap and rotate the photo.
Every given idea is worthy of respect.
10-02-2020 09:14 PM
Here is an ancient example which modified an even ancient-er example:
10-03-2020 01:22 AM
Hi Darin K
I don't think I can fully describe my problem. I tried to explain my problem with a photo I attached below. (Problem.png)
I also thank you for the example you gave, but this does not answer my problem.
Best Regards
Worker
10-03-2020 05:50 AM - edited 10-03-2020 05:50 AM
you can convert a labview image to a .NET picture with the .vis rovided by Hooovahh in this post:
look at the Blockdiagram of "Load Image.vi" in "Image Manipulation DotNET.zip"
10-03-2020 06:35 AM - edited 10-03-2020 06:38 AM
the dot net icture box only displays an image, if the .vi is executed
note that the PictureBox Indicator must'n be inside the While Loop
I use a While Loop with polling (50 ms) - a While Loop with an Event Structure should be used (like Darin does)
10-03-2020 10:42 AM
I found a different method but this example works better.
Alexderjuengere Thanks for sharing the information.
10-04-2020 02:53 AM
How can we make the background color transparent.
I used creat mask.vi but it still didn't help.