Example Code

Expand or Extract pixels in am Image using IMAQ functions

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • Vision Development Module
  • LabVIEW

Code and Documents

Attachment

Overview

This example demonstrates how to extract or expand a part of an IMAQ Image.

 

Description

This VI allows the user to Expand or Extract pixels from an Image to modify it's size.

Requirements

 Software

  • LabVIEW Base Development System 2012 (or compatible)
  • NI Vision Development Module 2012 (or compatible)

 Hardware

  • No hardware is necessary to use this example VI

 

Steps to Implement or Execute Code

  1. Download and open the attached file
  2. Run the program

 

Additional Information or References

 Expand or Extract Pixels LV 2012 NIVerified.vi - Front Panel.pngExpand or Extract Pixels LV 2012 NIVerified.vi - Block Diagram.png

 

Notes: The Factor can only be an Integer number

The image displays are set as zoom to fit but in the lower text you can see the actual size of the image.

 

**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**

Francisco Arellano

National Instruments Mexico
Field Systems Engineer - Energy Segment
www.ni.com/soporte

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
CHINA_GUANGDONG
Member
Member
on

请问,IMAQ EXTRACT这个文件要下什么软件装。谢谢!