Overlap an arbitrary polygon in IMAQ?

I think that my request is quite simple.

I would like to be able to arbitrary polygons on an image in a similar way to the other images overlay IMAQ.

Is there a simple and effective way to do this?

Specifically, I wish I could overlay triangles (to make arrows).

I can see how to do this using a combination of descriptors of KING and masks, but I was wondering if there is already a solution simple and elegant, either LabVIEW or open source.

caleyjag wrote:

This seems ideal. You have available for version 8.6 VI?

Thank you

-Graham

Downsaved for 8.6.1

Tags: NI Hardware

Similar Questions

  • create polygonal links in PDF

    Is it possible to create polygonal links in PDF? Could be useful, for example for interactive maps.

    In the PDF specification, I read on the /QuadPoints key in the link annotations. However, I did not understand the documentation here, that it serves that purpose? Or it creates a number of quadrangle, not necessarily rectangular (8 vertex coordinates would allow it) interactive areas that may or may not overlap?

    The second, Yes.

    You can create an arbitrary quadrangular shape to associate with your link.  You can have as many of them as you want.

    The idea of more flexible forms of links has been discussed over the years but not made not of the standard.

  • Polygon color with RGB U64 images / Image conversion of RGB U64 in RGB U32

    Hi guys,.

    I want to use the color polygon feature, but I have an input RGB U64 image. The only supported is image RGB U32 type. Is it possible to convert the image to U64 U32 and use the color polygon feature?  I know I'll lose accuracy, but what for the moment.

    Otherwise, you know the functions of polygon that supports RGB U64 images as input?

    Please let me know.

    Thank you

    ARE

    IMAQ Cast Image VI Converts the current image type for the image type specified by Type of Image.

    How Casting works: The VI shifts the value from the source to the range of 8-bit using the depth of specific bit of the source image. Then the VI defines each color component in the destination value for the corresponding component in the value of the source.

  • Remove particles that overlap?

    I'm looking for an effective way remove the my binary image that overlap.

    Image 1 is the current seuillee image

    Image 2 are the particles that are bad

    Image 3 is the combination of image 1 and image 2

    I want to remove particles that are 'overlap '.

    Effective ideas?

    Thank you

    Branson

    PS Images are in binary form, you must open in IMAQ to see.

    Red = binary value 1

    Green = binary value 2

    Blue = binary value 3

    Hello

    I guess you try to do a binary reconstruction, have a look at the Reconstruction of binary morphology IMAQ: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_binarymorphology_reconstruction/

    Stimulate the function with your 'bad image' as a brand.

    Hope this helps

    Concerning

  • IMAQ ColorHistograph - information in reality graphics RGB

    I have an RGB image and would like to actually see the distribution of red, green and blue in the picture.

    I try to use the .vi IMAQ ColorHistograph, but the XY graph resulting does not display anything.

    I thought the .vi IMAQ ColorHistograph could be directly attached on the XY graph, but have had no success with it.

    Here's what I'm trying to use now:

    I'm very new LabVIEW.  I appreciate your responses and suggestions.

    Hi jmeyer33,

    Unfortunately, you cannot wire the graph XY to the ColorHistogrpah.vi IMAQ. The output of the IMAQ ColorHistograph.vi are clusters that contain the pixel values to color and the starting value and the value of the interval. You will first need to separate outputs to shoot the berries of polygon that contains the pixel values. In addition, if you want to display data in a XY Chart, you also provide the values that go along the x-axis. I posted 2 examples on the community to show how you can do it. The first shows how to display the polygon in a XY Chart and the second poster on a waveform graph. You can also find these examples by looking for a "color polygon' in the community.

  • Error of vi-1074395247 IMAQ learn model 2.

    Hello

    Development environment:

    • LabVIEW 2012 32-bit (12.0f3)
    • Vision 2012

    Description:

    Can someone please shed some light on what types of descriptors of the KING are allowed for IMAQ learn ringtone 2?. Only certain KING types allowed for this VI, or you can use any type? I want to create a template with a mask image - KING type descriptors defined in polygon - what is possible or valid?

    I get the 1074395247 error: "invalid template descriptor '.

    However, just by simply changing the return on investment of the Rectangle type (and the coordinates to respond), I don't get this error (although it does not properly hide pixels I don't need)

    Thank you!

    Hi Chris,

    I think you should be able to create a return on investment with a polygon.  Please see this example: https://decibel.ni.com/content/docs/DOC-25241

    Thank you!

  • No executable polygon

    Guy! I know that there are some old thread for this. but I just want to ask...

    I can't start my IMAQ polygon... I have download and intall run Time Vision and Vision Development Module 2013.

    I just follow the VI that uses an example of a polygon.

    I'll attatch my liscenses and Vi that I use.

    -in fact, I had a suspicion because it is only licensed to crack in the development of the Vision, because of what some Subvi cannot always be used. I just need help! TNX!

    Yes it is a license copy.

  • IMAQ Vision: image not valid type

    I use the evaluation version of LabView Pro and Vision Builder to process a video taken from a Webcam from Microsoft. I try to apply a part of the function as a filter of treatment or look at a histogram as graph below but LabView always returns invalid image type.  I assume that these functions cannot process the image directly from webcam (using Vision acquisition) and may need to be converted before their transformation. However, I'm unable to do it. Please give me any suggestions or provide that I have to use the function

    In most cases, WebCam will deliver Image RGB (color). Even if you have turned on the WebCam in grayscale mode (then RGB components are equal). IMAQ polygon can handle the U16 only U8 I have 16 or types of SGL.

    What you can do:

    (A) use IMAQ ColorHistograph instead of the polygon IMAQ.

    or

    (B) convert your color to grayscale image (good way is to take ExtractSingleColorPlane IMAQ and set the type of intensity. Destination image must have type Grayscale U8). You will then be able to use IMAQ polygon.

    Andrey.

  • Sdo_Geom.Sdo_Intersection does not vertices overlapping

    Hi all

    I run the query where I try to get the number of vertices that intersect between 2 objects GEOM below.


    Sdo_Util.Getnumvertices (Sdo_Geom.Sdo_Intersection(B.geom,R.geom,.00000000005))


    The query above works fine when, for ex B.GEOM to say 5 different X tops and are coordinated. It gives me the good number of vertices that intersect with R.GEOM.

    However, in my case, B.GEOM has 15 peaks, all having the same X and are coordinated. When I run the above query, the output returned is 1 when there are actually 15 peaks that are intertwined with R.GEOM.

    I am a novice in the database space and not very sure if Sdo_Geom.Sdo_Intersection will remove duplication/overlap of the summits? I want to be able to examine all vertices that overlap as well. Can you get it someone please let me know if I'm doing the right thing here?


    Please see below the image of intersection where B.Geom have 15 vertices overlapping and R.Geom is the polygon.

    You poor soul, who deals these clusters on you anyway?  They should buy lunch you.

    So yes, go getnumelem to getnumvertices in the meter of the loop, and then you will need manually extract every x, y in a temporary point normal, simple geometry in the loop.

    Here's a little revised sample PL/SQL.

    declare
      multip sdo_geometry := sdo_geometry (2005, null, null, sdo_elem_info_array (1,1,3),
                                          sdo_ordinate_array (50,5, 55,7, 60,5)); 
    
      singlep sdo_geometry; 
    
      poly sdo_geometry := SDO_GEOMETRY (2003,
                      NULL,
                      NULL,
                      SDO_ELEM_INFO_ARRAY (1, 1003, 1),
                      SDO_ORDINATE_ARRAY (-100,-100,100,-100,100,100,-100,100,-100,-100)); 
    
      kount pls_integer := 0; 
    
    begin 
    
      for i in 1 .. sdo_util.getnumvertices(multip)
      loop 
    
          singlep := SDO_GEOMETRY
                      (  2001,  multip.sdo_srid,    SDO_POINT_TYPE
                        (
                            multip.sdo_ordinates(i * 2 - 1),
                            multip.sdo_ordinates(i * 2),
                            NULL
                        ),  NULL,  NULL);
    
          --debuggin tip - use determine mask
          --dbms_output.put_line(sdo_geom.relate(singlep, 'mask=DETERMINE', poly, .05)); 
    
          if sdo_geom.relate(singlep, 'mask=INSIDE', poly, .05) <> 'FALSE'
          then 
    
            kount := kount + 1; 
    
          end if; 
    
      end loop; 
    
      dbms_output.put_line(kount); 
    
    end;
    
  • Steering (CC 2015) polygon tool problem

    On update CC 2015 there are some annoying things in polygon tools. It will creat triangle which is not normally directed upward.

    It make me turn 45 / 90 degrees because of the default bounding created.

    Please see this image:

    Screenshot 2016-03-14 10.18.13.png

    Can he do default shape pointing up as before 2015 CC update?

    Thank you!

    anaggadipa,

    Sorry, I forgot to mention that you must ClickDrag of an anchor (on another triangle or other).

    If you do this, you get the vertical guide line to follow.

    You can ClickDrag a little triangle (at an arbitrary angle) so that its top where you want to start, then just ClickDrag the real along the guide line, then remove the small triangle (or you can, of course, ClickDrag a vertical guide with the tool Segment of line and subsequently remove it).

    I hope less boring than others.

    You can consider a request/bug report:

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

  • How to create a change of color on a polygon?

    Hi all

    How to create the image below where the text is another color on the polygon?

    At Oasis.png

    Thank you very much

    Daniel

    1. Draw the shape
    2. Write text
    3. Convert the text to outlines text
    4. Select both
    5. In the window, click on exclude paths overlap Pathfinder.
  • To check the superposition of polygons in Oracle

    I have a table 1, which has a field such as store number and geometry, and there just one record in it. Now, I want to check this store to table 2 number and identify if there are polygons which overlap to this particular store number polygon and insert in the table 3.

    Here's the sql block, that I am using.

    Insert into table 3

    Select a.store_id, a.store_number, a.client_id, a.geometry

    in table 2, table 1 b

    where a.client_id = b.client_id

    and SDO_RELATE (a.Geometry, (select geometry of table 1 where store_id))

    (= 34746), "mask = anyinteract") = "TRUE";

    But it returns 1 field in the new table for any store id that I select.

    Several problems with the metadata entry.

    The table_name must be just the table_name without the prefix in the schema.

    And when you remove metadata, all names should be capital letters.

    Then first delete the incorrect entry (use all caps):

    1. Delete from user_sdo_geom_metadata where table_name = ' TMC. TEMP_NATHAN_STEP1' and COLUMN_NAME = 'GEOMETRY ';

    Then insert using the syntax of the right:

    1. Insert into user_sdo_geom_metadata VALUES ("TEMP_NATHAN_STEP1", "GEOMETRY", SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('x',-180, 180, 0.05), SDO_DIM_ELEMENT ('y',-90, 90, 0.05)), 8307);
  • FLASH symbol leaping irregular polygons

    I'm working on a card Flash CS3 that contains a large number of irregular polygons. Each polygon is a 'button '.

    The original graphics were imported from Photoshop. Each layer contained a polygon defines a country. Each polygon has been saved as a graphic symbol, graphic symbol has been included in a clip. Each country in an individual MC. The State is defined in a simple function in the actions of the main stage. That everything works fine.

    I think I hit a wall where the bounding box defining each symbol overlaps. According to the order of the layers in the original SWF file, sometimes hovering over a polygon selects another.

    I can solve some of the problems in re-ordering the layers, but it will not solve all the by all means, and it's just a band-aid anyway. I need a more robust solution.

    Is there a setting in the Flash CS that specifies Flash is to use the shape of a polygon, rather than a rectangle less - fit? I understand that I could use Flash buttons and manually draw a box for each country, but it will be a lengthy and error-prone process. It too will give results that are "close".

    Flash has the polygon - the edges of this polygon cannot be used an affected area?

    If it is not obvious, I'm new to CS. One of my challenges is to determine which Flash calls this bounding box less - fit - important to have a good keyword for any search engine.

    Any advice would be appreciated!

    TIA-

    When you say "imported Photoshop" do you mean you saved out them in the form of images and then imported? Or you imported a .psd directly in Flash?

    It looks like you use images, in which case Flash recognizes the bounding box as struck the entire region (because images can be rectangular). Transparent PNG should not have this problem in Flash, but there might be a bug. Regardless, if you import a layered PSD directly into Flash, you can tell it to import shape layers in the psd into editable paths.

    Another solution is to try to create the areas affected in Flash with what you currently have and use the Edit/Bitmap/Trace Bitmap command. Set the threshold for the color and the Minimum box both to "1" to settle the curve fit to "Pixels" and the threshold of corner "A lot of corners" that will reproduce your image into vectors extremely precisely. If you use individually coloured polygons, so this shouldn't be a problem at all. Once you have the essential polygonal shape as a vector, you can do all this 1 color and then do an invisible area.

  • Impossible to change the settings for the overlap of the midi regions

    Hi people

    Trying to change my project settings so that my midi regions overlap or merged.

    However, when I select the different options in the project settings - setting won't change even after choosing, he. All the default to replace & I can't change anything...

    Any ideas?

    1 - ability to select IMAGE options, but as soon as I click on it it goes back... (see image 2)

    IMAGE 2

    Weird. Since nobody had a suggestion again I'll propose to eliminate most bizarre factors:

    -Check the permissions to read / write to the project folder, you are working, and where the logic is in. You have full access?

    -Detach the Audio interfaces / external MIDI, reboot and external logical beginning without entries/connections

    The same problem happens for tracks Audio parameters too?

  • Is there a way to open the text files with arbitrary extensions?

    As part of the mobile platform iOS, is possible to open arbitrary text files that have an arbitrary extension?  For example, in the course of my work day, I meet regularly with plain text files that have an .out extension.  I'd love to be able to open these simply with iOS notes without renaming them in .txt.  I meet many of them and only need to do this for a few minutes, so take the time to rename them significantly adds both.

    On the desktop a BONE can generally "open with", then choose the application.   I'm looking for the equivalent in iOS.  Please note that to access the files on iOS is not a problem with icloud drive, dropbox, etc..  they just can not be opened easily.   Simple text editor, word processor not full blown.

    You will need a software that can handle the file.

    Usually the file management applications can manage any type of file.  I like the 5 Documents to Readdle, it can open almost anything.

    https://iTunes.Apple.com/us/app/documents-5-file-system-PDF/id364901807?Mt=8

    The equivalent of 'Open with' in the iOS is "open in", 'Share xxx' or even 'Copy To '.

    How to get to it, depends on where the file is located.

    ICloud drive for example, you can do open the file in a specific application by holding your finger on the icon of the file and by selecting more «...» "in the menu that appears, and then selecting"Share point... ". "and finally select an application from the list.

Maybe you are looking for

  • Backing Up first time Wants to Set Up as a new phone?

    Being a first backup time on iTunes on a Mac with a phone that has been used with backup icloud. When I plug in the phone, the only options I get are to restore from another profile, or set up as new iPhone. None of these options sounds good. I want

  • How to open documents in works 9 after the error message

    After the execution of Advanced System Care 5, I am unable to open my Works documents.  I see that they are still in my computer, but I get an error message that says: they have been renamed, deleted or moved and he said to try reinstalling works.  I

  • Disk Dell OEM of Windows 7 does not have a product key?

    My computer began to crash so I reformatted my computer and installed Windows 7 Professional using my OEM drive. After installation, my computer installed 70 something updates. Then, he says Windows must be enabled. For some reason any it will never

  • What default set to see the image files in the preview pane?

    I have something changed and did not know what effect.  What I place to be able to view the image files in the preview pane? So Sorry! I already have the choice of the preview pane and above to display a thumbnail of the pictures. Now all I get is th

  • I'm unable to get a transparent background

    HelloI clipped a subject from a photo, I deleted the part that I did not want to keep, so I have my pattern on a white background, but I want the background to be transparent.The layer I added of the United Nations, used the magic wand pour select wh