06-29-2016 07:00 AM
Hello,
After some processing the image becomes quite weak with respect to full scale.
Is there simple way to rescale it to full scale ?
A solution that comes immediately is to extract image statistics (e.g max) and use them to multiply the whole image by a constant.
Even trying to apply such solution I've met difficulties: I didn't find block that multiply image by a constant.
Thanks in advaice.
Solved! Go to Solution.
06-29-2016 07:16 AM
Do you want to Change the Resolution of a image?
06-29-2016 07:42 AM
No, I want to keep the original resolution (i.e. 16 bits), but rescale intensity ... for example if the max value of pixels is 100, the pixels with 100 become 65365, if min value is 5, the pixels with 5 become 0.
The pixels with value 10 become 10*65365/(100 - 5).
I have also one more question: how to determine from wich library comes a particular block on BD (or FP).
For example actually I'm wôrking with VI that was began by my collegue.
I couldn't find the graphical block (please see the snapshot below), so for putiing the new ones I proceed by copy/past.
Thanks
06-29-2016 07:52 AM
It seems that the solution for scaling an image by a constant is quite simple: multply operator does the job ... 2nd image left unconnected.
06-29-2016 07:54 AM
Inside Vision utilities you will find all Vision pallets
06-29-2016 08:00 AM
06-29-2016 08:04 AM
PalanivelT a écrit :
Inside Vision utilities you will find all Vision pallets
I've searched trough sub-palets and still didn't find it.
For others block there is context help that facilitate searching, but for this particular block context help merely doesn't exist.
06-29-2016 08:08 AM
:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\vision\Basics.llb
Please confirm the LabVIEW Version and Whether the VI opens without error to confirm vision Module Licenced or not
06-29-2016 08:15 AM
PalanivelT a écrit ::\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\vision\Basics.llb
Please confirm the LabVIEW Version and Whether the VI opens without error to confirm vision Module Licenced or not
Sure, all modules are licensed and every VI opens without errors.
If this block is part of standard pallette, could you, please "recognize" this block at your side.
Thanks.
06-29-2016 09:35 AM
The reason you could not find the Image icon that you circled in your earlier post is that it is a Front Panel indicator -- it is an Image. Your Block Diagram is set to "Place Front Panel Terminals as Icons", so you got an Icon for the Front Panel Image indicator. If you right-click on the Icon on the Block Diagram, you should see a "Find Indicator" option that will take you to the Image on the Front Panel.
Really, this is very, very basic LabVIEW Vision/Image processing. Am I correct that you are attempting to do this entirely on your own, with absolutely noone to teach/mentor you except those of us on the LabVIEW Forums? There are a few books on LabVIEW Vision and IMAQ that you might consider purchasing and spending the time to read and do examples -- you would at least get a much better grasp of the fundamentals than you appear to have.
Bob Schor