09-05-2013 08:33 AM
Hello,
I'm trying to create a transition image in Labview.
I've the start and the end image and with this two images, I want to create a transition image for animation.
I've read that with Interpolation functions, it may be possible but I couldn't see how to.
I wanted to know if it's possible with Labview and if someone can tell me advices, he is welcome.
Thanks you for help me,
YB
Solved! Go to Solution.
09-06-2013 04:20 AM - edited 09-06-2013 04:21 AM
Hi Yoann,
This topic might interest you:
I would like more information on what you want to do.
let's say you have these 2 pictures respectively, the starting and ending one:
If I well understood, you would like to get the following transition image?:
There are several possibilities to achieve your goal:
1°) Use an already third-party software with ActiveX inside LabVIEW.
2°) Extract the portion of image you want to change, then apply whatever effects you want. In the above example you simply would need to :
- convert your png/jpeg formatted start image in a pixel map.
- on this pixel map, you will have to extract black pixels corresponding to the circle
- and apply a translation to these pixels or simply make them white and just change in black color the pixels located at the coordinates
(x1+ µ,y1)
with x1 and y1 the coordinate of "start" black pixels and µ the shift quantity.
regards
Romain DUVAL || RF & Semiconductor Staff System Engineer || CLA || CTA
National Instruments France
09-06-2013 04:29 AM
Hi Romain,
Thanks you for your help, it's what I wanted to do.
I will try to do this with BMP images. What do you call third party software please ? Have you any examples of software?
regards
YB
09-06-2013 05:10 AM
Hi Yoann,
Je veux dire des logiciels tiers. J'ai toruvé une page qui en liste pas mal :
http://transition-effects.software.informer.com/
Une fois le soft installé (il devrait être registré comme serveur ActiveX, c'est tout du moins le cas pour la plupart des logiciels modernes), tu devras communiquer avec en utilisant la palette activeX de LabVIEW, comme réalisé dans de nombreux exemples sur notre site et dans la bibliothèque d'exemples de LabVIEW: https://decibel.ni.com/content/docs/DOC-9831
cordialement,
Romain DUVAL || RF & Semiconductor Staff System Engineer || CLA || CTA
National Instruments France
09-06-2013 07:55 AM
Merci