LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bmp image (partial) modify/enlarge

Hi All,

 

My current project is to estimate led brightness image (bitmap format) for different distances from illuminator. For analysis purpose, I had images (bitmap format) for different distance and I extracted 1-D array data using the cursor position property node and compared the index and amplitude. Then in my program, I use 1 image (X mm) data to estimate the graph for a different distance (Y mm). My next target is to use the image (bitmap format) itself, and edit/process the led portion and enlarge this portion for estimation of different distance. Is it possible to modify certain portion/part of the image? Anyone that can guide/provide me idea on how to do this?

 

 

Thanks

-Ima

0 Kudos
Message 1 of 4
(2,910 Views)

Hi Ima,

 

Would you post some code of what you have so far? It looks like you are already able to extract the profile of the brightness. 

 

I'm curious about why you want to extract part of the image. It might be easier to use your existing algorithm to extract the profile, then rescale the profile.

 

If the image data is just an array, you can extract an array subset using the array primitives.

 

 

 

 

~~
0 Kudos
Message 2 of 4
(2,887 Views)

Hi Nickf,

 

Sorry I forgot to attached the code ( might not be so accurate) . Please put aside the estimation calculation first as this was done for a particular led observation for several distances from the illuminator.

 

The reason why i extracted the data using cursor property is because i want to see the brightness uniformity if i have 2/more leds. and i eventually want to see the result on the actually image/picture. i m not sure how to manipulate my data from 1-d and apply the same changes on the actual image. 

 

-Ima

0 Kudos
Message 3 of 4
(2,864 Views)

You didn't really post code, you posted a picture which maybe worth a thousand words but source code is worth so much more.  Posting the VI, or creating a snippet which embeds the code in a picture would be better.

 

I still don't understand your goal.  You want to make the image bigger to better estimate the brightness?  This will just stretch the image and depending on the zooming technique will add artifacts, and make the image less real.  Making your readings less accurate.  Use better resolution, better camera, better lens, or better lighting to bet a clearer picture for better brightness estimation.

0 Kudos
Message 4 of 4
(2,846 Views)