LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Import images and rearrange

I want to import a set of lets say 3 images. Among this 2 are of importaance and the third is not. The importance is determined based on the which image is the darkest. And the rest two images should be named as Image-1 and Image-2.

 

How can I achieve this ? 

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 1 of 9
(3,153 Views)

@abikutn wrote:

I want to import a set of lets say 3 images. Among this 2 are of importaance and the third is not. The importance is determined based on the which image is the darkest. And the rest two images should be named as Image-1 and Image-2.

 

How can I achieve this ? 


How about comparing overall pixel intesities of the image.

0 Kudos
Message 2 of 9
(3,146 Views)

Hello Ankit,

 

Yes I am new to LabVIEW, please explain in detail how can I achieve that. I want to do it myself.

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 3 of 9
(3,144 Views)

Try this link: Overall Image Intensity

 

or you can also convert you images in to an array compare the images.

0 Kudos
Message 4 of 9
(3,138 Views)

Thank you , will try and update if I was able to do it.

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 5 of 9
(3,134 Views)

Do you have a Vision license from Labview. If so it's exteremly easy and I can set up a quick VI for you that performs this task. but the effor is nulled if you don't have the Vision license.

 

Dan,

0 Kudos
Message 6 of 9
(3,116 Views)

Yes I do have a liscenced version for VISION.

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 7 of 9
(3,103 Views)

I have developed a VI that says which image is the lowes intensity among the 3 images in a given folder. How can I automatically delete that image from the folder and rename the other two as Image 1 and Image 2 ?

 

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 8 of 9
(3,101 Views)

Sorry,

I 'm short on time so I quickly put this together.

Feel free to add the front Panel object as you see fit.

If your images are in a restricted folder you would have to run labview as an admin since you are deleting files.

 

 

Let me know if you have any other questions.

 

Good luck

0 Kudos
Message 9 of 9
(3,090 Views)