Have you got a better idea? Is there a better way? ( arrays )

Hello!
First post here and ofcourse it is a question I hopo you people don't mind. I will get right to the point:
I have a picture , or to be precise the pixels of a picture stored as a 3 dimensional array in the form of
img[y][x][color].
Since I am working on grayscale the color doesn't matter , so de facto I have a 2dim array of X-Y coordinates. For my programm ( a line tracker of sorts) I need to be able to select a subgroup of this array. This subgroup should be equivalent to a small (appr. 10x20 pixels wide) box in the original picture. My problem is that this box could be at any angle, that is it's side do not have to run parallel to the x-y-Axis.
Now how would be the best way of doing this?
My idea is to calculate the lines of the rectangle geometricaly and then try to approximate them onto the array. After that I can use them as boundaries to select every pixel that is inside the box.
Is there a better way? Does somebody have any experience with something similar?
Any help would be greatly appreciated...
Alexis

Two things to try. Try rebuilding the mailbox. This can take awhile if you have a lot of mail.
Rebuild mailbox
Try reindexing the mailbox. This can take awhile if you have a lot of mail.
Reindex messages

Similar Messages

  • HT201406 I have tried everything but my screen is still unresponsive have you got any other ideas ???

    Ihave tried everything with my ipod and it is still unresponsive if anyone has any ideas comment on this message thanks

    If a restore to factory settings in iTunes does not resolve the issue, it's more than likely hardware related, meaning you'll need to have the iPod serviced or replaced either by Apple or a third party service.
    I would schedule an appointment at your local Apple Store/Genius Bar to have them take a look.
    B-rock

  • Have you got non-touch Gaming AIO

    Hi MSI
    Have you got the non-touch model in the future??
    I believe the touch is necessary for win8.1, yet I still don't appreciate touch.
    Hope you can have new non-touch type!
    Gamer

    Many of the Gucci watches come with a scratch-resistance of some sort,fitflops clearance, but its better to be safe than sorry.  Passengers on an express boat to the island often see the whales in transit.  This exhibition was one of the most amazing collections of film and still photography I have ever seen.  Anxiety is distinguished by the cognitive somatic,fitflop sandals, emotional and behavioral factors. Shelton was born in Ada,fit flops, Oklahoma to :censored:,fit flops, a used car dealer,fitflops, and Dorothy,fitflop australia, a beauty salon owner.
        As a very general rule,fitflop australia, most people can safely lose about 2 lb.  Animal mugs are especially fun for someone who loves animals.  But at least the story we do get matches up with what we are told in the other movies and that continuity is very important to me.  Difficult areas tend to be tricky to let (euphemism for cheap!  Furthermore,http://abriboard.us/fitflops-sandals-lulu-whirl-coffeebronze.html, not all backflow preventers are allowable because many models do not provide adequate protection.
        Sure,fitflops australia, they watched as the idiots dragged us into the mire. Mirroring is easy and it works.  Cramer repeated his buy recommendation of ESV once during the last 30 days.  The Changing Face of Today's Workforce.  Unsweetened vanilla almond milk is the way to go.
        Some of these swimsuits are so long that they may be called as pants.  Use topographic map functionality to find elevation,fitflops uk, print high resolution maps,fitflop, save a PNG,fitflop slippers, or just learn the topography around Flamingo Campground. We know that the quality of the product directly results in the impression given to people. Watch Hulu Outside The USA On IpadWhen you take your trip this summer did you know that it's still possible to access your Hulu account from your iPad even though you're not in America?  The Maya felt the cacao tree was owned by the gods and the pods were offered as a gift from the gods to man.
       Al-Farouq Aminu: I didn't work out.  They allow the permeability of light and air keeping away forced entry or intrusion at the same time.  Remember to keep the colors neutral so you will not have problem matching them with curtains,fitflop sale, beddings and other accessories.  This means that there is no tangible equivalent.  If you go to our online decode website and enter your Blaupunkt Fiat Car stereo numbers into the boxes provided and send us some money with paypal,fit flops, we will email your radio code number back to you instantly.
       Buying earrings,fitflop, brooches,fitflop shoes, necklaces,cheap fitflops, rings,fitflop, gems in addition to other valued period pieces either for individual use or for investing may be the most amazing way to appreciate art and history.  The pefomance footwea was stimated by the ove fo the basketba in Ameica eading to the ceation of the a time Chck Tayo Convese' shoes.  Some moms-to-be want their partner to join them for every prenatal appointment. One needs to purchase a QNET  of their own choice to start with QNET business On completing this step,fitflop australia, the distributor qualifies to be an independent representative(IR). Koston went through some specifics about how cPanel is constantly evolving its processes for incorporating user input into  and for rolling out new ,fitflop sandals, but he also touched specifically on a couple of key deals cPanel made in the last year,fitflops australia, with Siteocity and WHMCS.

  • What have you got in ctx/bin?

    Hello,
    it may be that something went wrong in the
    installation, but should there be an executable file ctxhx in ctx/bin? At least
    my sql command "create index index1 on doctest(doc) indextype is ctxsys.context
    parameters ('filter ctxsys.inso_filter');"
    says so.
    What have you got in that file?
    Thanks in advance!
    Marko
    null

    You can see my numbers in my sig too.  
    Take Care,
    Richard

  • Using Iphoto 11 I can see on my mac my photos in alphabetical order, not on my Iphone 3GS. have you got any suggest?

    using Iphoto 11 I can see on my mac my photos in alphabetical order, not on my Iphone 3GS.
    have you got any suggest?

    Data Recovery – Best
    Data Recovery – Disk Drill
    Data Recovery – Data Rescue
    Data Recovery – File Salvage
    Data Recovery – Stellar Phoenix
    Data Recovery - uFlysoft
    Data Recovery – Best
    Data Recovery – Disk Drill
    Data Recovery – Data Rescue
    Data Recovery – File Salvage
    Data Recovery – Stellar Phoenix
    Data Recovery - uFlysoft
    Data Recovery - Recovering Deleted Files
    Data Recovery - Recovering Deleted Files (2)

  • On a Windows 7 computer I installed Firefox 9.0.1 and in my edit menu I have NO Preferences at the bottom, so there is no way to adjust any settings

    On a Windows 7 computer I installed Firefox 9.0.1 and in my edit menu I have NO Preferences at the bottom, so there is no way to adjust any settings The edit menu opens up and I have undo, redo, cut, copy, paste,delete,select all, find....but NO Preferences at the bottom. This is a new laptop and nothing like skype is installed. The Firefox install is new today 1/6/12

    Hi bruce,
    What are you actually looking for? On Windows 7 your options will be under ''Tools > Options''. If you have the ''Firefox'' menu, you can hit ''Alt'' to temporarily enable the menu bar.
    Your System details say Linux. Your say you are on Windows 7 though, correct?

  • I have a MacPro 1,1. Is there an easy way to move my applications to a new iMac?

    I have a MacPro 1,1. Is there an easy way to move my applications to a new iMac?

    You'll be given the option to migrate them and your other data when setting up the new iMac.
    (101589)

  • HT4623 hi! i have an ipad2 64gb ios 4.3 and i want to upgrade it. the settings portion of my ipad doesn't have the "software update" option..is there any other way of updating it?

    hi! i have an ipad2 64gb ios 4.3 and i want to upgrade it. the settings portion of my ipad doesn't have the "software update" option..is there any other way of updating it?

    You need to connect to iTune (computer) to update software
    http://support.apple.com/kb/HT4972

  • Inserted a new hard drive into my Mac Boo Pro 2008 15 inch and don't have the original disks. Wondering if there was a way to purchase them.

    Inserted a new hard drive into my Mac Boo Pro 2008 15 inch and don't have the original disks. Wondering if there was a way to purchase them from Apple or if I buy them off ebay will they work? Also its A Macbook Pro 2008 15 inch glossy with 2GB of Ram the serial number is worn off what kind OS do I need?

    Wondering if there was a way to purchase them from Apple
    Yes. Contact Apple Support using one of the options in the Contact Us below. You will need your MBP's serial number and payment method for a nominal fee. If the exterior serial number is illegible look elsewhere for it: MacBook Pro: How to find the serial number
    or if I buy them off ebay will they work?
    Probably not. Grey discs are system-specific and will work only for the exact model MBP with which they shipped. It's likely that Apple will charge you less money, and it will be guaranteed to work.

  • What have you got out of the barton 2500?

    Lets find out what the barton 2500 can do.
    So far i've got 2326 out of it
    But what have you done?
    Please join in and show what you have done.

    You can see my numbers in my sig too.  
    Take Care,
    Richard

  • Documenting process sequence - anyone got a better way?

    Hi
    I am using OWB v9.2.0.2.8
    I am trying to document my process flows and the sequence the various activities run in. Unfortunately I can't find anywhere where the sequence of the activities is stored.
    I have been trying to guess my way around the system tables/views but no luck. I got hopeful when I found ALL_IV_PROCESS_TRANSITIONS.TRANSITION_ORDER but all contain zero so it was no help.
    The best method I have found is to edit the activity descriptions in the process flow and insert a sequence number, then the following SQL will give me the listing I want:
    Select
    L.PROJECT_NAME ,
    A.PROCESS_NAME,
    A.ACTIVITY_NAME ,
    A.UPDATED_ON,
    A.ACTIVITY_TYPE ,
    A.BOUND_OBJECT_NAME ,
    A.DESCRIPTION
    from
    ALL_IV_PROCESS_ACTIVITIES A,
    ALL_IV_PROCESSES P,
    ALL_IV_PACKAGES K,
    ALL_IV_MODULES M,
    ALL_IV_LOCATIONS L
    WHERE A.PROCESS_ID = P.PROCESS_ID
    AND P.PACKAGE_ID = K.PACKAGE_ID
    AND K.SCHEMA_ID = M.SCHEMA_ID
    AND M.LOCATION_ID = L.LOCATION_ID
    ORDER BY L.PROJECT_NAME ,
    A.PROCESS_NAME ,
    A.DESCRIPTION,
    A.ACTIVITY_NAME
    Unfortunately this is a pain as I need to edit every activity in every workflow (to limit work in the future I have done the old BASIC trick of numbering each items in 10's)
    Has anyone got any better ideas on how to document these?
    (the standard GUI printout is a pain as it does not show the full activity name)
    Sandra

    Hi. To clarify my role is basically to set up this in a organization so If I fully had it my way I would stick with FCP Green Screen Tools. The reason Im using boris is because the user who will be editing on the machine really does not earn the title of "editor". So ive had to set them up with really easy, really fast ways to get this done.
    To sum it up they are used to using 'Visual Communicator"
    Go here to check it out----http://www.realnetworks.com/products/visualcommunicator/index.htm
    Thankyou for your helpful advice though. I will check the realtime settings.
    All of my sequence and capture setting look right though?
    DV NTSC 48kHz?
    DV NTSC 48kHz?
    I mean I know they are right I guess Do you think I can change them to a worse quality or something because utmitly it will end up on the web?
    Thankyou for you help.

  • Have you got GPG working?

    Does anyone here have GPG working again after migrating from PPC to Intel?
    I can't work out what's wrong. I receive an error message from GPGPreferences, in System Preferences, saying I need a newer version. I reinstalled the latest version (GPGPreferences 1.2). I've reinstalled GnuPG 1.4.3. I've reinstalled GPGMail 1.1.2.
    I've looked on the macgpg-users list but there are no answers there. I've checked the list of GPG apps:
    GnuPG 1.4.3 fat binary
    GPGMail 1.1.2 fat binary
    GPGDropThing 0.4.3 PPC
    GPG Keychain Access 0.7.0 PPC
    Gpg Tools 1.2 PPC
    GPGFileTool 1.0.2 PPC
    GPGKeys 0.7.0rc2 PPC
    GPGPreferences 1.2 PPC
    [PGPFreeware 8.1 PPC]
    so I don't know if this means the whole thing will work using a combination of native and Rosetta processes, except the preference pane because Rosetta doesn't support those, or if it means none of it will work properly.
    How is GPG working for you on MacBook or another Intel-based Mac?
    Thanks for any help you can offer with this.
    From Clytie

    From MacFixIt:
    http://www.macfixit.com/article.php?story=20060705101450393
    Wednesday, July 05 2006 @ 10:00 AM PDT
    Official statement from PGP Corporation on Intel-based Mac edition: Beta due this month
    We previously reported that the PGP Corporation had made no announcement regarding the potential release of a Universal Binary edition of PGP Desktop, frustrating some users.
    The company has now informed MacFixIt that it is indeed working on an Intel-based Mac compatible edition of PGP, to be released at an undisclosed date. A beta version, however, should be released by the end of July.
    John Dasher, Director of Product Management for PGP Corporation, told us:
    "As more and more people upgrade to Apple's latest Intel-based product offerings, we're seeing more frequent requests for a Universal binary version of PGP Desktop 9.0.
    "As you know, PGP Corporation has a long history of multiple platform support with our products. Occasionally, the platform vendors surprise us and ship something early, causing us to briefly fall out of sync.
    "While we can't commit to specific release dates, I can convey that PGP Corporation is working without delay to provide compatibility with Apple's Intel-based Mac products in the next major release of PGP Desktop. As per usual, PGP will make beta versions of this software publicly available (later this month)."
    MacBook - 4H621 - 2.0 Gbyte RAM, Parallels VM,   Mac OS X (10.4.7)   G4 Tower, Atari ST with Mac Plus emulator, Dell 8400 Tower, Dell D600 laptop

  • Have you got a problem with tagged mails ?

    Something went wrong with Mail and Mavericks.
    Sorry, the text is in french …
    It says there 4 mails have been tagged as "important",
    but only one can be seen.
    Does anybody has a clue ?
    Thank you for your help

    Two things to try. Try rebuilding the mailbox. This can take awhile if you have a lot of mail.
    Rebuild mailbox
    Try reindexing the mailbox. This can take awhile if you have a lot of mail.
    Reindex messages

  • TS1474 I have missing content in my iTunes library, there is no way to contact support unless you have some sort of serial number.  My computer is not an apple computer but can't call them without it.  Only 256  songs showing up;  I had 8,000 songs on my

    I am so done with this.  8,000 songs on my iTunes app and now I only have 256 songs!!  I purchased a new computer and had backed up all my content onto an external hard drive.  When I downloaded the content onto the new computer, I was unable to access my music for 90 days!!  What a bunch of BS!  $8,000 down the drain, just like that.  This is ludicruis!  I have tried to contact support but they require some sort of serial number, don't have one, this is not an Apple computer.  So their support ***** as they only give you one option to contact them.  I still have my content on the back up but am afraid to re-download in fear I won't have access to the material for another 90 days!  Has anyone else had this problem?  I feel like I've been ripped off!
    Oh, right, in order for me to post this message I had to select a community.  If I don't, it won't post it.  What a bunch of control freaks! I'm just going to select one to get this posted and hopefully, someone can help me.

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              
    and
    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - If a 5G iPod      
    Iphone 5 lightning port charging problem - SOLUTION!
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar
    To fine SN
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    However, Apple will charge you for telephne support since you our not within warranty

  • Have you got the same problem?

    Hello,
    I've been editing some code and wanted to use the 'insert
    destination path' tool in the editor.
    On pressing the icon Flash CS3 just...... QUIT. No saved
    work, no message, just no window.
    I'm shocked, since fortunately I wasn't working over some
    important stuff for a client, which I didn't save.
    Anyway it just scared me.
    The app is unpredictable. I don't remember now exactly how it
    happened but during the first days after the installation,
    it crashed while PS was running in the background.
    Judging from how Adobe was advertising the product, it should
    run smoothly and be trustworthy. I'm disappointed at the bugs.
    Did you encounter similar crashes?
    I'm running WinXP with sp2 and all critical patches. System
    works fine, no redundant litter. I use it only for designing.
    I don't think any software clash could have caused the crash,
    it must have been Flash CS3 bug.

    Archived - iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
    Products Affected
    iTunes 7 for Mac, iTunes 8 for Mac, iTunes 9 for Mac
    This article has been archived and is no longer updated by Apple. 
    Symptoms
    After installing the Mac OS X 10.4.9 Update, iTunes may be unable to properly authorize your computer to play your iTunes Store purchases.
    Resolution
    The following steps will delete your network preferences. Most broadband connections do not require any special settings to connect, but if your connection does or if you are not sure, please contact your ISP or network administrator for further assistance.
    Important: You must be logged in as an Administrator.
    Click the Finder icon in the Dock.
    Choose Go to Folder from the Go menu.
    Type /Library/Preferences/SystemConfiguration
    Click Go.
    In the Finder window, locate the file named NetworkInterfaces.plist.
    Drag this file to the Trash.
    Restart the computer.
    Once your computer has restarted. You will not be able to connect to the Internet. Now you will need to refresh your network settings to be able to connect again.
    Choose System Preferences from the Apple menu.
    Choose Network from the View menu.
    To refresh your network settings, from the Location pop-up menu, choose New Location.
    Type a name for your location and click OK.
    Click the Apply Now at the bottom right to accept the changes.
    If your network connection requires any special settings, you will need to put them back in at this point. Once you have made these changes you should be able to connect to the Internet again and authorize your computer to play your iTunes Store purchases.

Maybe you are looking for

  • How to populate the Referance Field Through the Auto Invoice in credit memo

    HI , I m populating the records in RA_INTERFACE_LINES_ALL and creates the cr Memo through the Auto Invoice , but i m like to populate the Referance Field which is exist in Header part of the Cr Memo (Benith the TYPE). So plz help me, that which colum

  • Services not updating in Aperture

    I have written a very simple Automator Service action to move images from a Project to a specified folder on my desktop; the trouble is it is not showing up in Aperture Services Menu. I am saving it to the same folder as 4 other services that are sho

  • Date Range in Query

    Hi All, We have created a query report which we have created as a stored procedure and we are executing the sp in SBO to get the result. However, there is one issue, we have passed the variables in the sp as well as the fms to get the date range, but

  • How NOT to sync game saves between devices?

    Hi there, I haven't been able to find out how NOT to automatically sync game saves between devices. I own both an iPhone 4 and an iPhone 5 and I do not want my progress in video games to be synchronized between the devices. There are no in-app settin

  • Grid Computing: Oracle Profile

    I am a student at Lansing Community College. Recently profiled in the September/ October Edition of Oracle Magazine I subscribe to. I currently use JDeveloper for Java and Web Development. I am writing a term paper on Grid Computing and its impact on