08-02-2011 09:48 AM
@Darin.K wrote:
The picture control (which is called a picture control despite almost always being used as an indicator),...
90% of the time I use it, it is a control.
![]()
Ben
08-02-2011 03:13 PM
@Josh B wrote:
Click on this link http://forums.ni.com/t5/LabVIEW/Concatenate-Images/m-p/1152517#M506549 and then look at the bottom of Darin.K's post you will see and attachment called CoryKArtworkGenerator.llb 685 KB. If you open that attachment you will a labview LLB Manger open with three vis in it. I believe the ScaleBitmap.vi will be useful for you. Let me know if you that works.
Regards,
Josh Brown
Wow. I can't believe LabView does not have a simple option for scaling bitmaps to the frame... Was it 25 years since first LabView release?... Sorry for the rant. I need to look closer to understand how ScaleBitmap works...
08-02-2011 03:27 PM
Probably because LabVIEW is a programming language, not an image viewing program. ![]()
08-02-2011 03:44 PM
I originally wrote scale bitmap many years and LV versions ago, I decided it was better than waiting for NI. ![]()
It simply uses bilinear interpolation for each point in the bitmap. When scaling up, for example, new points are added with fractional indices. The values for these points are found by interpolating between the four nearest points in the original image.
For extreme scaling, it will always be dodgy, but the best results are found by doing it in several smaller increments.