Image Pattern Recognition (slightly changing shapes)

Hello all, I wrote a program for my work which calculates zonal windshear through a series of images (over time) showing storms traveling. The user clicks center points of the storm he/she is tracking and it uses deltas of time/distance (with longitude/latitude) to calculate the wind speed. My boss would like this to be automated using some kind of autocorrelation technique where a storm is chosen once and the program finds it in successive images. Now, the problem is here that the storms change shape slightly, but overall are still recognizable so pixel by pixel searching does not seem to be an option (tried with a matching tolerance of less than 60%, everything went terribly). I looked into the JAI but could not find anything to help with my problem. One thing that gives me hope, is that these storms travel zonally only, so I only need to scan across horizontally in the image (saturn images at 5 microns). So, can anyone guide me into something to research? I would greatly appreciate any advice and by the way these images are all grayscale.

Hmm.. I'm a bit confused.  I thought that when you convert a
selection to a path, the new path follows the exact location of the
selection. (Therefore conversion from the selection bounds to the path
should be pixel exact)
Nope. Wand some part of a photograph and zoom in to %1600. Then make the selection a workpath with various tolerance levels. At 0.5 you get a very good approximation, but converting between bitmap graphics and vector graphics will never be pixel perfect.
What I don't know how to do (if it's even possible) is program
Photoshop using scripts to alter each and every pixel on the path using
an algorithm similar to what you described.
You can use the Path APIs in PS to describe as many points on a path as you need.
BTW, when you ".. skip it and check the next point on the path" what
path are we talking about (we just rejected a test point on the current
path because it was out of alignment).  The new path hasn't even been
defined yet.  Even if you used the next point on a tangent to the
previous two points as the new path, what's to say that that tangent
will meet up with the correct portion of the path?
A better way of looking at the this is that you traverse the path. If the next point is way out of whack, delete it and check the next point. If the border defects aren't too large, you eventually find a point that is near enough that you can discard/delete the intermediate points, though you do end up with a small flat part on the circle.
NetGeek888, has an interesting idea (see my commet to his post)
If you are going to have a user tweaking the selection, I'd take the bounds of the initial wand selection, as he suggests, create a circle in those bounds, and let the user adjust the circle's size and location.
You probably need to start coding some of these ideas up and see what's reasonable for your workflow.

Similar Messages

  • Real time pattern recognition

     I'm trying to build a pattern recognition system, so that I can detect in real time "STOP" traffic signs. I've build a template and a script using Vision Assistant, an then I used the "Export to VI" option. I've been trying to modify the generated VI, to add the webcam part. I can't figure out what's wrong, as the program captures video, but the pattern recognition part doesn't behave as I want,it just applies some image filters and displays the first captured image. I'm a begginer in LabVIEW, please help me figuring out what's wrong. It should show the captured video, marking the pattern if one is found. Thanks
    Attachments:
    Capture.vi ‏146 KB
    sign.vascr ‏3 KB

      Hi Nathan,
       Thanks for the reply. I've managed to solve some of the issues. I've given up trying to do the geometric matching real time. I just want to do this against a couple of local images. My big problem right now is that I can't manage to display the overlay over the initial image, as this gets distorted in the process (applying the color threshold, the equalize feature and so on). I guess I don't understand correctly how the matching algorithms work. I would greatly appreciate if you could point me in the right direction...basically, I want to display a rectangle overlay over the initial image. I have a couple of questions from there on, but I want this solved first. I've attached my latest VI, the VisionAssistant script for detecting the signs and an image I use to test. Thank you
    Attachments:
    GeometricPattern_File.vi ‏88 KB
    sign.vascr ‏3 KB
    road_sign3.jpg ‏45 KB

  • How can type a word on an image in Ps and change the text box background

    How can I type a word on an Image in Ps and change the background of the text box

    Photoshop doesnt have an ability to fill a text box so you will have to create a layer underneath the text layer. A shape layer work work well. That can be filled and stroked quite easily with editability.

  • Help for image pattern matching

    Hello Everyone
    I am working for my last year project. In my project I will work on the image processing to find a moving object. I will work by JMF. I have finished to grab a frame from the webcam video clips. Now I need a algorithm to find a Image pattern from the grabed image. But I donot know which algorithm is fine for image pattern matching as well as how can I implement in java. Is anyone know please help me very urgently.
    Thank you
    Md. Mainul Hasan

    If you would like to take a look at http://www.exactfutures.com/index01.htm and http://www.exactfutures.com/index02.htm and http://www.codeproject.com/useritems/activity.asp then these pages and links may well be useful to you. It may not be exactly what you are looking for, but it does point to some examples with source for video analytics, and at the very least they illustrate how to capture & handle the data including a fast movement detection algorithm. If you want to find a specific shape then search the internet for information on chamfer distance transforms - one can use JMF or extend these simple examples to apply those techniques.

  • Dvi to video adapter changes shape

    When I plug my DVI to Video adapter into my macbook pro, all of the displays change shape, and no matter what resolution I choose, it won't go back to it's true size.   When I try a DVI to vga adapter, it works fine.

    Try starting the Mac in Safe mode.
    http://support.apple.com/kb/HT1455
    Hopefully that will result in a usable screen. If it does, go into Displays Preferences and change the resolution to what it was when you had things working properly before. Then restart normally and the resolution selection made under Safe mode should persist through the normal restart.

  • How can I make a column of sums out of a repeating pattern of 24 changing numbers

    How can I make a column of sums out of a repeating pattern of 24 changing numbers in Numbers.
    I have a long list of 8760 numbers of which I need to take the sum (and store in a column) of each 24 numbers.

    Here's one way. I've reduced the example, taking groups of five numbers from a set of 20. I've used 3 as the data number in all cases to make the sum easily recognizable.
    Original column of numbers in Data::column A.
    Data::B2 (and filled down): =QUOTIENT(ROW()+3,5)
    This adds 3 to the row number, then divides by 5, returning the quotient and ignoring the remainder.
    The result is a 'group number' for each group of five rows.
    Sums of each group are reported in the Sums table.
    Sums::A2 (and filled down): =ROW()-1
    Sums::B2 (anf filled down): =SUMIF(Data::$B,A2,Data::$A)
    For your example, assuming the 8760 numbers are listed in column A of a table named Data, starting at cell A2:
    Add a second column to the table (column B).
    In B2 enter the QUOTIENT formula above, with these two revisions:
    =QUOTIENT(ROW()+22,24)
    Fill down to all cells in the column.
    Provided you have named the first table "Data", both formulas in the Sums table will be as written above. You will need to extend the Sums table to 366 rows (including the Header row) to accommodate all 365 groups of 24.
    Regards,
    Barry
    PS: For details on the functions used, see the iWork Formulas and Functions User Guide. You can download the guide via the Help menu in Numbers '09.

  • Is there a way to format multiple images at once? Change colour mode or resolution?

    Is there a way to format multiple images at once? Change colour mode or resolution?

    It's very easy to make an action.
    Go to window > actions
    In the actions panel, simply click the 'create a new action' button, it starts recording as soon as you've created it (when you've given it a name).
    Now you can apply the changes you want to make to the images on the file you have opened.
    After you've done all you need to do. You click the 'stop' button. The action is now ready to use. And you can apply the changes you made on all the other files.
    Then you can continue how gener7 explained.
    I usually include a save and close command, so that the whole batch doesn't end up opened after running the script.
    But if you do that you have to create a new file, and save it to your computer before you start recording the action, otherwise the save command will be replaced by each file. And you'll end up with one edited file in the end. At least for as far as I know!

  • Image Component background color change

    Hi,
    I have am image object of an arrow in the xcelsius, I want the arrow as it is but want the background colour of the image object to be changed.
    In short how can I get the background color of an image object changed?
    Pls advice,
    Thanks in advance,
    Shreesh.

    Hi,
    In Xcelsius we dont have that option to change the background color of image. you Can edit in paint or some other image editor tools.

  • Why the mouse pointer in Logic Pro does not change shape during work in OSX 10.9.1?

    I've a MacBook Pro Retina 15-inch Late 2013 and I'm using two external displays. One connected to to the HDMI port (display 1) the other to thunderbolt (display 2). The MacBook display is closed. I’m working with Logic Pro 9.1.8 (32bit) with OSX 10.9.1
    Why the mouse pointer in Logic Pro does not change shape during work???
    It was already difficult with OSX 10.9 but now after upgrading to 10.9.1 it's game over!
    At least before I could select which display use Logic Pro to have all the shape functions of the pointer. Not in both displays, so to be forced to edit in ONLY ONE of the two displays using this workaround: (right click on Logic icon in Dock: Option --> Desktop on Display 1). Now or I select “Option --> All Desktops” or does not work. However, by selecting all displays you say goodbye to Mission Control. This can’t be a solution!!!
    The amazing thing is that Nuendo has no problem while Logic Pro, Apple's native software, it can't!
    With Nuendo it’s indifferent in which display you are working, the shape of the mouse pointer changes shape depending on the requirement in both displays.
    This thing drives me crazy!
    Solutions?
    Here some ideas in other foums:
    http://www.logicprohelp.com/forum/viewtopic.php?f=1&t=86264
    But this aren't really solutions but workarounds. Use Logic in all desktops makes Mission Control useless!!

    I installed all over again by formatting as suggested by the genes of pro application support. Each plug-in, each virtual instrument, a job that lasted 3 days. And as suggested for each new plug-in I proceeded to check the proper functioning of Logic Pro and did each time a back up with Time Machine.
    The Result:
    Logic works as it should ONLY on the primary monitor and ONLY on the first desktop.
    BUT
    Reason and Nuendo dont' have this issue !!
    I believe that Apple developers are thinking only to mobile phones and things like messages or face time.
    And that's not all!
    After a few weeks, perhaps by installing a version of Adobe Acrobat, I say maybe because I'm not sure, logic has stopped working properly. Again problems with the mouse pointer.
    Luckily I had a back up! But now I'm terrified to install new programs. Thanks Apple!

  • How do I make a user shaped vignette move and change shape in Color

    I  want to isolate an irregular shaped area on screen by creating a vignette linked to a shape. The trouble is as the shape I want to isolate moves across the screen it changes size, orientation and shape. I know I can use keyframes when I'm using a round or square vignette but how can I track/keyframe a user defined shape?
    Thanks for any suggestions.

    Actually, I've sort of answered my own question. I've found out that having created a shape in the geometry room and attached it to a secondary correction tab, you can make the shape change shape, position and size. What you must do is to stay in the geometry room with the shape selected and then create key frames. At each keyframe you can alter the position of the points defining the shape. You can't however morph between different defined shapes.
    Hope that makes sense!

  • Slight change in OWA link causes mail to stop working

    My work recently changed the web address and/or something else that now keeps me from getting my mail on my BB 8320.  The old link was:
    https://webmail.abc.gov
    and now the link is 
    https://owa.abc.gov/owa/
    There is also a slight change in the appearance of the login screen between the two but other than that and the link address, the username and password remained the same, but now I cant get my BB to work with my email.  Any ideas?
    Also if it maters I am using T-mobile with the latest update and I have the data plan so it was working before the email merge created by work.
    Message Edited by Golfer2000 on 10-05-2009 02:13 AM

    Thanks for the help but sadly it did not work. It appears to be the 2007 version (  )  I checked the first link and it is not a Microsoft Internet Security and Acceleration Server.  The second link helped me find my mailbox name but it is the same as Ive been using since the start, and its all numbers so its not a case sensitive issue.  I havent contacted the IT dept and I really would like to avoid doing that actually.  I know of others that are still able to get the email but they are on other phones, not BBs.  Let me know if you can think of any other potential fixes.  
    Thanks!
    Also this is what the login screen looks like.  Seems to be 2007 to me.
    Message Edited by Golfer2000 on 10-05-2009 05:36 PM
    Message Edited by Golfer2000 on 10-05-2009 05:37 PM

  • If I select multiple images to apply a change to all Aperture it does so only with the first selected. Why?

    If I select multiple images to apply a change to all openings it does so only with the first selected. Why?

    You probably have Primary Selection only on.
    Aperture identifies the images you’ve selected by displaying them with a white border. When you select a group of images, the actively selected image, called the primary selection, appears with a thick white border and the rest of the selected images appear with thin white borders.
    Primary Only button: Click this button to make changes to the primary image selection only.

  • I use a mac ios and shoot raw in a cannon 5d mark ii and shortly upon import of my images lightroom darkens and changes my images. This has happened before but not every time. The strange part is my last shoot had the same camera setting but this did not

    I use a mac ios and shoot raw in a cannon 5d mark ii and shortly upon import of my images lightroom darkens and changes my images. This has happened before but not every time. The strange part is my last shoot had the same camera setting but this did not happen. The images i have now i can not use after lightroom has automatically altered them even if i try editing back to how they looked upon import

    First thing to do is to change the default camera profile applied in Lightroom to camera standard (assuming that you shoot Canon or Nikon). Also make sure that your camera is NOT set up to use any of the HDR modes. Nikon calls those Active Dynamic Lighting. On Canons you often see things like highlight priority mode or "Auto Lighting Optimizer". Make sure that the picture style is set to standard and that for newer Canons the HDR mode is turned off. Most of the HDR modes simply underexpose the image and then add an instruction in the raw file to compensate for this to prevent highlights from being blown out. This causes more noise in the shadows and if you know what you are doing there is no point to this as you should simply expose correctly and get the highest quality raw.
    Lastly, make sure that in Lightroom you have not checked "Apply Auto Tone Adjustments" in Preferences->Presets. This should make the default rendering of the raw files the same as the in-camera jpeg (what the camera shows on the back even if you shoot raw) but still give you all the latitude of raw files.

  • A slight change to the iTunes update page

    When I tried upgrading before, iTunes told me I was up to date with 1.1.4. Now it tells me there's an upgrade (2.0) and to press the update button. When I do, a pop-up window tells me I can purchase the update, and Cancel and Learn More buttons appear. If I press Learn More, I get the original page telling me a new version is available. Infinite loop - but that's an improvement to what I had earlier!

    "Re: A slight change to the iTunes update page
    Posted: Jul 11, 2008 6:30 PM
    Yeah, I get that too. I've been just clicking repeatedly. Probably jamming up the servers some more. :P"
    Yeah - I wondered about that - perhaps I shouldn't have posted the original and thus encouraged everyone to hit the server.

  • IMac "27 Retina, slight change in hue/tint on wake up?

    I've noticed that on waking up, my iMac first adjust brightness after a second or two, then a few seconds later there's a slight change in the hue/tint to a warmer color.
    This only seem to happen when the computer's been in sleep mode for a while, and can't be replicated if you put it in sleep mode and then wake it up again shortly after.
    I haven't done any calibrating or changed the color profile and I'm using the admin account.

    I forgot to write down my computer specs:
    iMac 27 Mid 2011
    2.7 GHz Intel Core i5
    4 GB 1333 MHz DDR3
    AMD Radeon HD 6770M 512 MB
    OS X 10.9.2

Maybe you are looking for