01-27-2011 06:45 AM
Hi,
I'm correcting a position of single particle on binary image. To do so, I resorted to implement overelays (an extracted particle over black background). The problem is I have to save the particle as bitmap to a harddisk and then loading it (which is not feasible for online correction).
Is there any method to convert VisionImage into Bitmap or Metafile in memory without saving it first on harddisk?
Once more, I use VB.NET but LabVIEW solution can be comprehended and converted.
Thanks in advance
01-28-2011 11:19 AM
Hi VBCoder,
Are you using the Vision Development Module software? If so, why do you have to convert the file to a Bitmap or Metafile? If you could just expand a little bit more on your application that would great. I look forward to hearing back!
Paul M
01-28-2011 03:53 PM
Have you tried the image.Flatten method? Seems like it might do what you want. To retrieve it later, there is the corresponding Unflatten method.
-Christophe
02-10-2011 03:12 PM
I'm not sure but..........CWIMAQImage.ImageToArray should work.
02-12-2011 07:05 PM
Just a concept...
03-01-2011 01:37 PM
Hi GriffinRU,
Thanks very much.
I need to do the same thing (Convert a VisionImage to a Bitmap in memory) but unfortunately I don't have Labview and am not familiar with it. Is there a way to do this in VB.Net using the NI Vision Development Module?
Thanks for any comments
03-01-2011 01:42 PM
03-02-2011 07:26 AM
Any success?
-Artur
03-02-2011 09:09 AM
This could be a nice start,
-Artur
03-11-2011 07:53 AM - edited 03-11-2011 07:58 AM
.... Edited
I have made a mistake
sorry