LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to check resolution of picture

Solved!
Go to solution

Hello,

 

Sir I am trying to see a way of finding resolution of any picture, in other way, is the picture is 8 bits or 16 bits etc but I am confused how to do it. I tried to used to Ni VIssion Assistan where I created a histogram but then at coding, I am confused how to utilize this histogram. Unable to analyse this histogram and could not draw anything of this histogram. Could you please help to achieve my target. Thanks

0 Kudos
Message 1 of 6
(2,940 Views)

Hello,

 

I think you are looking for the VI called : IMAQ Get File Info.vi

 

Untitled.png

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 6
(2,916 Views)

Hello,

 

Thanks for guiding me. I have tried to make it in Vision Assistance and the way you showed me as well however could not manage to display the image. Please look at my vis and can find the mistake. One more thing, I am using 2011 version, if you make any amendment could you please upload in 2011 labview. Thanks

 

regards,

Jawad

Download All
0 Kudos
Message 3 of 6
(2,896 Views)
Solution
Accepted by topic author Jawad@

Here's an commented example without the vision assistant. I'm sorry I'm not a big fan of express VIs, and actually I think it is more difficult to get the image type using Vision Assistant.

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 6
(2,893 Views)

Thank you Titou. I think, this is all what I was trying to do. Thank you very much, hopefully will you see very soon with new question. 

0 Kudos
Message 5 of 6
(2,890 Views)

you're welcome 🙂

 

If you have more questions, please dig into the Machine Vision part of the forum to see if you the solution isn^t already there.

You can also take a look at the examples that comes with LabVIEW (Help >> Find examples >> search tab).


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 6 of 6
(2,886 Views)