lovemachinez Posted May 8, 2009 Report Share Posted May 8, 2009 I mean, this picture below i want to ROI only the triangle.....,not include the middle and background. which vi thai i will use? please show me the example.. Quote Link to comment
Neville D Posted May 8, 2009 Report Share Posted May 8, 2009 Homework assignment? Quote Link to comment
lovemachinez Posted May 8, 2009 Author Report Share Posted May 8, 2009 No..no.. I want to use it with pattern matching, to find another tag that similar this. I can do it with VBAI but I want to know how to create it with labview software... Quote Link to comment
Neville D Posted May 8, 2009 Report Share Posted May 8, 2009 Your question is not very clear.. do you wan to select it manually, or want to detect it programmatically? Quote Link to comment
ShaunR Posted May 8, 2009 Report Share Posted May 8, 2009 This may help (Hint: Polygons) ROI Descriptor Quote Link to comment
lovemachinez Posted May 9, 2009 Author Report Share Posted May 9, 2009 I want to select it manually. I don't know how to ROI only the triangle edge that i interested sorry for my question. I'm new in labview and not good command in english. best regards lovemachinez. Quote Link to comment
Neville D Posted May 9, 2009 Report Share Posted May 9, 2009 There is no way (that I know of) that you can manually select an annular triangular ROI manually over an image display in LV Vision in a single easy step. You can select a circle, oval, annulus (tire shape) rectangle, rotated rectangle. You can select the triangle itself by using the Polygon Tool (don't use the Closed Free hand Tool, the adjoing lines won't be straight). You can write code so that the user first selects the outer triangle, then selects the inner triangle, and you form the resultant ROI as {Outer-Inner}. N. Quote Link to comment
ShaunR Posted May 9, 2009 Report Share Posted May 9, 2009 Such a simple request yet not as trivial as it first seems. Nevilles idea will most certainly work if you trust whoever is drawing the triangles. Hopefully you can go with that. But if you want a programmatic method, more complicated, but less demanding on the user you might try the following..... 1. "Threshold" the image (I'm looking at your blue icons) to get it in black and white. 3. "Fill holes" so that the center part of your triangle is fully blocked (i.e. you have a solid triangle). This is your major mask. 4. Scale your mask down by a factor (say 5%). And invert. This is your minor mask. 5. Combine both masks. 6. Apply the mask to your original image. You should now just have the white triangle without drawing anything. Quote Link to comment
lovemachinez Posted May 10, 2009 Author Report Share Posted May 10, 2009 how to "{Outer-Inner}." Many thanks Neville D and ShaunR. you help me so much. thank you Quote Link to comment
drakones Posted July 5, 2010 Report Share Posted July 5, 2010 There is no way (that I know of) that you can manually select an annular triangular ROI manually over an image display in LV Vision in a single easy step. You can select a circle, oval, annulus (tire shape) rectangle, rotated rectangle. You can select the triangle itself by using the Polygon Tool (don't use the Closed Free hand Tool, the adjoing lines won't be straight). You can write code so that the user first selects the outer triangle, then selects the inner triangle, and you form the resultant ROI as {Outer-Inner}. N. Hello! I am new to this forum. But I have a problem that seems I cannot resolve the way I want. I also want to create a R.O.I. method, but without VISION and IMAQ modules. I am working on an image processing project, in which I want to use only the default functions (Full Development) in LabView (either 8.5 or 2009). The only things I can find on the internet is only ROI with VISION. Can you give me some hints on this? Thanks a lot. Laurentiu A. Quote Link to comment
Francois Normandin Posted July 5, 2010 Report Share Posted July 5, 2010 Hello! I am new to this forum. But I have a problem that seems I cannot resolve the way I want. I also want to create a R.O.I. method, but without VISION and IMAQ modules. I am working on an image processing project, in which I want to use only the default functions (Full Development) in LabView (either 8.5 or 2009). The only things I can find on the internet is only ROI with VISION. Can you give me some hints on this? See the other thread. Quote Link to comment
rpursley Posted July 9, 2010 Report Share Posted July 9, 2010 See the other thread. You can create and ROI like you want. Draw two triangles using Polygon, one inside the other (holding down the Ctrl key allows you to add another ROI to the image control). Read the ROI property to get the data for the ROI. There should be two contours listed in the order they were drawn. If the inner triangle was drawn second, then read out that contour and set the Contour Type (Contour ID) to 1 (Internal) and the write it back. There is a bug present in LabVIEW that doesn't keep the Contour Type (Contour ID) value when you read it from the ROI property, but it does write it properly. Triangle Outline.vi Quote Link to comment
Francois Normandin Posted July 9, 2010 Report Share Posted July 9, 2010 You can create and ROI like you want. Yes you can, but here I was answering a follow-up question about how to do it without IMAQ or Vision VIs. I also want to create a R.O.I. method, but without VISION and IMAQ modules. Quote Link to comment
Daklu Posted July 10, 2010 Report Share Posted July 10, 2010 For as long as I can remember ROI has meant "Return On Investment." What does it mean in image processing? Quote Link to comment
jgcode Posted July 10, 2010 Report Share Posted July 10, 2010 For as long as I can remember ROI has meant "Return On Investment." What does it mean in image processing? I don't do a lot of image processing but I know a bit of the slang from using Vision: Region Of Interest Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.