Locating the position of the brightest pixel in a region of interest

I need to locate the x and y coordinates for the brightest pixel in a region of interest rectangle (user defined).  I see that there's a Light Meter that uses a rectangle, but I can't find a way to have it tell me the location of the brightest pixel (only the intensity)
Any input would be appreciated.  I'm using v7.1. 
Thanks

I don't have time to try to come up with a solution that uses divide and find.  Divide in for sections, find the brightest one, then divide that one into four sections.  Keep going until you get your answer. 
If you use IMAQ Light Meter (Line) you can find the pixel using the line profile.
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

Similar Messages

  • Finding the Brightest Pixel in an Image

    How do i select the brightest pixel in an image?

    Set a threshold adjustment layer over your image. Drag the slider to the right until you see the last remaining white specks. These are where your brightest pixels are.

  • Can I locate the position of my device, last time it was connected to internet?

    My Ipad 2 was stolen and it's been connected to internet just once, I was not on at that moment and I couldnt track the position, I did online swipe and online lock, any tip?
    thank you in advanced.
    guerra0350

    Please be aware that you are not communicating with Apple when you post in these forums. These are user-to-user support forums, so in almost all cases the only people who will reply to your posts are, like me, your fellow users.
    And no, Apple cannot determine the IP address of your device. There is absolutely no way they could. Nothing they do would track and store the IP address of your iPad. Even with an IP address, and even assuming it was a current IP address, locating the device from that IP address would be very difficult and require probably multiple court orders and a lot of effort. I very much doubt that the police would go to that much trouble for a single stolen iPad.
    Sorry, but there is nothing Apple nor any of us here can do to help you.
    Regards.

  • Locating the cursor position

    Is it possible to locate the cursor position in a text item? in other words can I find the number of characters to the left of the cursor in a text item?
    I really appreciate any kind of input on this.
    null

    I have to insert user selected variables that show up in a LOV into the text item at the cursor position.
    A sloppy workaround for this problem is asking the user to put in a pre defined symbol where ever he/she wants to insert the variables and then replace the variable with the value selected from the LOV using the REPLACE function. There is always a chance of error here!
    Instead if there is a way to know the cursor position, like the no. of characters to the left of the cursor or the cursor co-ordinates.............

  • LR5- Map-Saved Locations-My Locations: The white circles showing the position of "my Locations" are not visible any more. What can I do?

    Hello,
    from one day to the next the white circles and the dot in the middle are gone. I could not find any setting for on/of. When I click on a location the map centers to the location.
    Maybe someone knows what to do.
    Thanks.
    Rainer

    gvb279: You are GREAT! Thanks! The "O" key is the solution
    Best regards
    Rainer

  • How to locate the first insertion point on every page?

    I need to paste some same anchored objects on every page for exporting RTF format.
    So I need to locate the first insertion point on every page.
    Then, I use the code below (make a simple example):
    for(i = 0; i < app.documents[0].pages.length; i ++){
         app.select(app.documents[0].pages[i].textFrames[0].insertionPoints[0])
         app.paste()
    But when a file has a very long table spread over several pages, the location operation will select the insertion point before the table --- the starting point of the table.
    For instance, a table start on page 3 and end on page 10
    app.documents[0].pages[4~10].textFrames[0].insertionPoints[0])  can't select the first insertion point from page 4 to page 10. (In terms of scripting, the insertion point exists before the very long table starting on page 3.)
    How can I solve the problem? Thanks in advance.

    I dont know exactly what you are trying to do but you can try this. If you have table which runs trough multiple pages, you can first divede this tabel, that cells on separate pages would represent stand alone table. Than you can fit textframe to this table. When addressing indention poin you will get right position.
    In your case when table start at 3rd and ends on 10th page you would get 8 tables in 8 textframes on its own page. If textframes are linked and table is smaller than textframe you will have problem when addressing first insertion point on 4th or any other page. That why you should fit textframe to table:
    var bl=app.activeDocument.pages[1].textFrames[0].insertionPoints[0].baseline
    var tf=app.activeDocument.pages[1].textFrames[0];
    var gb=[tf.geometricBounds[0],tf.geometricBounds[1],bl,tf.geometricBounds[3]];
    tf.geometricBounds=gb;
    Now when you set
    app.activeDocument.pages[1].textFrames[0].insertionPoints[0] you will get position before table or
    app.activeDocument.pages[1].textFrames[0].insertionPoints[-1] you will get position after table

  • How to locate the (physical) z index of encoder

    Hello,
    I am trying to locate the Z-Index of a rotary encoder. I need the counter to reset to 0 everytime the encoder's shaft reaches that same point.
    My problem is that when I run the VI, the angular position starts at 0 no matter where the shaft is located, and this point is used to reset the counter to 0 once a 360 degree revolution occurs. Hence, everytime I run the VI, the current shaft position is used as the Z-Index.
    Is it possible to locate the actual physical Z-Index of the encoder which is at a specific location of the shaft, so that everytime the shaft reaches that point the counter is reset to 0 and this specific point becomes the Z-Index everytime I run the VI (and not be at the location of the shaft at the instant the VI is run)?
    Basically, I am trying to accomplish the homing technique to be at a fixed location of the encoder's shaft and not at arbitrary locations which are at the location of the shaft when the VI is run, which may be different everytime I run the VI.
    Thank you,
    r15
    Solved!
    Go to Solution.

    One way out might indeed be to use absolute encoders, but it isn't yet clear to me that it's the only way or even the best way.  So let's make sure we first cover the basics very clearly.
    If your encoder has a z-index and your task is configured to use it properly, the z-index pulse will cause a reset at a specific shaft angle.  The very first such reset will usually occur in less than 360 degrees of motion, depending how far away you started from.  The remaining resets will always be at the same physical angle, thus every 360 degrees thereafter.
    If you want to perform z-index reset with an encoder task, it's important that the z-index *signal* is coming from the quad encoder.  The task config depends on a z-index signal that is sync'ed to the A & B quad signals and requires you to define which 1 of the 4 possible A quad B states should be used for the reset.  This helps NI support both full-cycle and quarter-cycle gated index pulses.  (Full-cycle means the index pulse lasts one full cycle of the A channel, quarter-cycle means that it lasts for one A quad B state, i.e. 1/4 of a full cycle.)
    A z-index signal that isn't sync'ed to the encoder may cause multiple resets per pulse or none at all depending on how & whether the pulse overlaps the A & B quad state changes.
    Having said all that, the symptoms you describe sound more software-ish.  If you aren't explicitly doing a modulus function, I would start to wonder whether something about the task config is doing something similar behind the scenes.  I wasn't aware that DAQmx would or could do that, but I haven't done much encoder work since before X-series existed and that was many DAQmx versions ago.  Perhaps it now supports modes for non-cumulative angular position?
    -Kevin P 

  • Using Shading Dictionary to perform shading in pdf,before that the shading dictionary call from Pattern Dictionary.In the Pattern Dictionary there is an Matrix based on the matrix value  location the shading operatihow the axial shading is preserve in pdf

    using Shading Dictionary to perform shading in pdf,before that the shading dictionary call from Pattern Dictionary.In the Pattern Dictionary there is an Matrix based on the matrix value  location the shading operation is perform,So i dont know how to calculate value of pattern Dictionary matrix value.
    10 0 obj
    << /Type /Pattern
    /PatternType 2
    /Shading 11 0 R
    /Matrix [1.00 .00 .00 1.00 54.00 53.00]  // the matrix value how to calculate
    >>
    11 0 obj
    <<
    /ColorSpace /DeviceRGB
    /Function 12 0 R
    /ShadingType 2
    /Coords [109.2726 69.00 109.2726 .00]
    /Extend [true true]
    >>
    12 0 obj
    <<
    /FunctionType 0
    /Domain [.00 1.00]
    /Range [.00 1.00 .00 1.00 .00 1.00]
    /Size [1002]
    /BitsPerSample 8
    /Length 3006
    >>
    stream
    here is an stream of colors
    endstream
    endobj
    Can anybody help me please.
    Regards, Sasi kumar sekar.

    Hi, Sasi -
    The Matrix maps coordinates in your shading dictionary into User Space. That is, the Matrix entry in the Pattern dictionary specifies a coordinate transformation that will be applied to coordinates specified in the shading dictionary.
    To take your example, you have an axial shading extending from (rounding off) 109,69 to 109,0.  Your Pattern dictionary specifies the Matrix
    [ 1  0  0  1  54  53 ]
    This transformation matrix corresponds to a scale of 1,1 (that is, no change in scale) and a translation of 54,53. Thus, the actual endpoints for the axial shading will be the User Space positions 163,122 and 163,53 (assuming I’ve added correctly).
    As to what values to use for your Matrix, it depends on how you’ve set up your Shading dictionary. If the coordinates you’ve specified are actually where you want the gradient to go, then just use an identity matrix
    [ 1  0  0  1  0  0 ]
    By the way, are you sure that the Pattern dictionary includes a Matrix entry? I seem to remember (it's been a while since I've looked at Patterns) that the matrix is supplied as an argument to the makepattern operator:
    <<patternDict>> [ 1 0 0 1 0 0 ] makepattern
    Hope that helps.
    - John Deubert
      Acumen Training
      PostScript and PDF
      Training & Consulting

  • I have one apple ID for both my Iphone 4S and Ipad. My Ipad was stolen from me and when I checked the iCloud, it can only locate the Iphone 4S. How can I locate the Ipad device?

    I have one apple ID for both my Iphone 4S and Ipad. My Ipad was stolen from me and when I checked the iCloud, it can only locate the Iphone 4S. How can I locate the Ipad device?

    Welcome to the Apple Community.
    You can only locate your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

  • My iTunes account says that it cannot locate the original file for all of my songs.  My iPhone still has all the music and is able to play the songs, if I sync and backup my iphone will the songs be replaced with the empty copies from my itunes library?

    So basically I tried to back up my itunes library to my external hard drive and when I followed the instructions and then went to play a song it said Orginal file cannot be found. It said that for all of the songs. I'm not sure how to fix what I did, I already tried consolidating and all of that stuff and it didn't locate the files.  I'm guessing that I somehow deleted the original songs along the way.  I synced my iPhone without knowing what I did and surprisingly all of the music is still on my phone.  So now that I've completely screwed up my iTunes account, I need to know how to get all my music back onto my iTunes account and have that library only on my external hard drive, not my computer. Everything looks fine on my iTunes besides the fact that it cannot locate the files but what I'm afraid of is me syncing and backing up my iPhone and then being left with no music because it syncs to the empty songs.  How can I fix this? and if I can't fix my iTunes library is there anyway for me to still be able to backup my iphone and all the music on it, without erasing my music?

    Well I'm not sure if I correctly backed up my itunes library because when trying to open itunes from that back up it keeps saying original file not found. Okay this is going to sound confusing but bear with me.  I "backed up" my itunes, meaning I just dragged and dropped the iTunes folder into my external hardrive, and then I changed the destination on iTunes to open from my external hardrive.  It was working fine when I did that, however I did that just on my own, I didn't know about consolidating the files or any of that so I hadn't done that before copying the folder to my external hard drive. I can't remember but I'm pretty sure I deleted the iTunes folder after I had copied it to my external hardrive. So I did that and it was working fine, I was able to open my itunes with my external hardrive.  BUT yesterday I thought that I hadn't done it correctly because I didn't consolidate the files and all that, so I wanted to be more thorough and do that, I followed the steps to do that but when I did that I think it got all the files from my computer and not from my external hard drive so it basically didn't find anything on my computer because I had deleted them. And like an idiot, I replaced the iTunes folder on my external hard drive (the one I did correctly the first time), with the one I did wrong. So I believe I pretty much deleted all the music files from both my external hard drive and my computer. Please correct me if I'm wrong?
    I believe getting all my music back on my itunes is a lost cause. BUT I still have all my songs and stuff on my iPhone. My question is, if I plug my phone into my computer and sync it, will it erase all my songs from my phone? A little more info, my iTunes still has the names and stuff of all my songs, they just can't be played because the files are missing, my iPhone doesn't need to erase and sync when I plug in my phone because it's already synced to my computer. What I'm afraid of is when I plug in my phone to backup and sync, will it erase my music because it can't find the files on my computer or external hard drive anymore? Or will it just leave the songs because they're already there (on my phone) and only sync the new songs that I've downloaded? I just need to know is my iTunes still going to be functional as far as me being able to backup my phone?
    I have a lot of songs purchased from iTunes but a lot (like 60%) are from CDs that I no longer have. So re-downloading my music would only account for 40% of my library.

  • There are about 8 songs in a playlist on itunes that are listed in the playlist but cannot be transferred to my ipod because it states: "..the original file could not be found." When I try to locate the song I get a list of the different music librar

    There are about 8 songs on a playlist that are listed in the playlist library but when I try to transfer them to the playlist, it states that they can't be transferred because the original file could not be found. Then it asks, do you want to locate the file but when I try that I get a few libraries but am not sure how to locate the particular songs. Some of the songs were purchased and some were transferred from a CD. I have seen the same question asked on the help page but haven't found an answer.
    Thanks.

    Hi dones49,
    It sounds like your issue here is that iTunes can not find the files for some of the songs you have brought into it. This happens occasionally even if the songs have not been moved from the location that iTunes places them on import or purchase. When you try to use the song, iTunes prompts you to find the file, as you have seen.
    To find the file, use the information in this article to navigate through the iTunes media folders -
    Locate and organize your iTunes files
    If you are still unable to locate the files, you may need to download them from the iTunes store again, or rip them from your CDs. See this article for assistance with downloading your past purchases -
    Download past purchases
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Terrance Devlin answered a question about iPhoto (4-2012) re:copying iPhoto Library to an ExHD, and losing all the albums. I can't locate the "Choose Library" when I open iPhoto with the opt button. Can anyone help?

    I tried to move my images (over 25,000) to an External Hard drive to open up some memory, hoping to make my computer run faster. It took three hours to move the images and I see them all in the mac's menus. However when I try to open them with iPhoto now, none appeared. and when I tried to import them back to the main HD they come in to iPhoto just fine, but not with the albums nor any of the massive organization i'd created in the original. this represents years of images, and I can't imagine that I'd have to recopy them into folders/albums again.
    Terrance Devlin answered a similar question back in April of last year. He said to make sure the ExHD is formatted to MAC OS Extended (Journaled) and to move the library to the ExHD and then open iPhoto with the option button and select "Choose Library" from the resulting menu.
    Command "I" tells me that the new drive is formatted correctly. I can't locate the "Choose Library" when I open iPhoto with the opt button.
    First, I wondered if the application needs to be on the same drive as the Library. I sure would like to know if I can find out how to restore all the folders I had them in. Terrance's advice helped the user that had asked the question.
    Here's the url for that archived discussion: https://discussions.apple.com/thread/3849933?start=0&tstart=0
    Can anyone help? I'm using iPhoto 5. My MAC is an OS X version 10.4.11.
    thanks, brokenlom

    Here are Apple's instructions:
    If you are using iPhoto ’06 or earlier, you will need to follow these steps to tell iPhoto where the Library is now located:
    Hold down the Option key on the keyboard and open iPhoto. Keep the Option key held down until you are prompted to create or choose an iPhoto Library.
    Click Choose Library.
    Locate and select the iPhoto Library in its new location.
    (from http://support.apple.com/kb/HT1229 )
    Below (in the link below) is what you should see when holding down the option key and opening iPhoto. Keep holding down the option key until this dialogue comes up. You want to select the Choose Library button.
    http://appleclinic.wordpress.com/2008/04/06/change-default-dir-iphoto/

  • I am trying to setup my new time capsule but it is not working. after entering the airport utility and locating the TC, after I tell the program to continue, the unit just disappear and the setup menu says there is an error. Any idea of what is happening?

    I am trying to setup my new time capsule but it is not working. after entering the airport utility and locating the TC, after I tell the program to continue, the unit just disappear from the menu and the setup menu says there is an error. I tried using the wireless connection, and also the cable, but none worked. Any idea of what could be happening?

    What are you setting it up as.. join wireless network .. the very worst setup, it will disappear.. reboot the whole network in order modem. router TC.. clients and it will likely reappear.
    Tell us what network setup you are using..
    If you setup with cable to a computer completely isolated from the network with TC also isolated.. finish the setup of everything you want. .before update.. then plug it into the network. .then restart everything in correct order.. it will work most of the time.

  • My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pr

    My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pro.

    Hello Sandra,
    The article linked below details how to go about restoring items from Time Machine in Snow Leopard.
    Mac OS X 10.6: Recovering items using Time Machine and Spotlight
    http://support.apple.com/kb/PH6379
    Sincerely,
    Allen

  • UNABLE TO LOCATE THE THE LABVIEW RUN-TIME ENGINE.LVBROKERAUX71

    UNABLE TO LOCATE THE THE LABVIEW RUN-TIME ENGINE.LVBROKERAUX71 REQUIRES A VERSION 7.1 (OR COMPATIBLE) LABVIEW RUN-TIME ENGINE。PLEASE CONTACT THE VENDOR OF LVBROKERAUX71 TO CORRECT THIS PROBLEM
    Uninstalled DAQ and reinstalled.  MAX still throws an error. 
    Any Isead besides uninstalling 3/4 of my software?
    Merry Christmas!
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

    To clean up your system, you will need to uninstall the LabVIEW 7.1 run-time engine, and the "LVBroker," and the "LVBrokerAux71" components using the MSI Blast utility.  To obtain this utility, please create a service request for phone or e-mail support, and contact one of our Applications Engineers about this issue.  Thank you!

Maybe you are looking for