Simplest screenshot process

Hi,
I have read a lot of web literature about screenshots on OS X 10.6. but I did not find the missing software/process/keyboard trick.
Does anyone know a software that just let me do the 3 following steps:
1. Make a keyboard combination to make appear a crosshair to take a picture
2. Take picture
3. Name the picture (or cancel) + Enter or something like that.
The pictures goes to a predefined folder.
cmd + **** + 3 : works for steps 1, 2.  but the step 3 is missing.
All I need, is to easily add a name to a just taken picture. (I don't want to start a software, make cmd+S, select folder location, ...).
In that way, I will be able to sort all pictures by both (name, date of creation) later.

hum,
Yes, you're right:  the crosshair works with Command-shift-4 and not Command-shift-3.
but,
I don't want to run after my screenshot. I just need to be sure it's at the right place, with a name I have to write.
I found an apple script on a web site doing this: and I create mine with.
Here is the code (juste change the computer user name in the thePath to set a different folder).
set format to "jpg"
set fformat to "." & format as string
set now to (current date)
set D to day of now
set Mo to month of now as integer
set Y to year of now
set h to (time of now) div 3600
set Mi to ((time of now) mod 3600) div 60
set s to (time of now) mod 60
set momento to Y & Mo & D & "-" & h & Mi & s
set thePath to "/Users/********/Desktop/"
set info to "Tag the picture you're going to take or die"
set defAns to ""
tell me to display dialog info default answer defAns buttons {"Cancel", "Ok"} default button 2
copy the result as list to {abrev, button_pressed}
set filename to "[" & abrev & "]" & momento & fformat
set doit to do shell script ("screencapture  -i -t" & format & space & (POSIX path of thePath) & filename as string)
I get for instance a [website]2011526-1723.jpg file
or a [art]2011526-1731.jpg
With a little change, the tag can indicate a different folder destination. (Art in artFolder, website in website folder, or create if it does not exist).
Now, last problem: how to update the shortcut command-****-3 to run my script and not the native's one ?
any idea ?

Similar Messages

  • Screenshot Processing

              saveButton.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent event)
                             sig1.setVisible(true);
                             sig2.setVisible(true);
                             sig3.setVisible(true);
                             saveButton.setVisible(false);
                             try
                                  Toolkit toolkit = Toolkit.getDefaultToolkit();
                                  Dimension screenSize = toolkit.getScreenSize();
                                  Rectangle screenRect = new Rectangle(screenSize);
                                  Robot robot = new Robot();
                                  BufferedImage image = robot.createScreenCapture(screenRect);
                                  JFileChooser jFileChooser = new JFileChooser();
                                  int returnVal = jFileChooser.showSaveDialog(saveButton);
                                  if(returnVal == JFileChooser.APPROVE_OPTION)
                                       ImageIO.write(image, "jpg", new File(jFileChooser.getSelectedFile()+".jpg"));
                             catch(Exception e)
                                  System.out.println(e);
                             sig1.setVisible(false);
                             sig2.setVisible(false);     
                             sig3.setVisible(false);
                             saveButton.setVisible(true);
              );I'm using the above code to capture and save a screenshot. However, I have two "problems." First, the screenshot saved is not showing sig1, sig2, or sig3 and is still showing saveButton. When my filechooser pops up, the screen looks the way I want it (showing the sigs and not the button), but the screenshot is showing the "old" screen. Secondly, my screenshot is getting my entire desktop, and I would like it to only get the currently open Java window. Can anyone provide some suggestions? Thanks a lot!

    This is my standard response to a question like
    this:
    If you need further help then you need to create a
    [url
    http://homepage1.nifty.com/algafield/sscce.html]Short,
    Self Contained, Compilable and Executable, Example
    Program (SSCCE) that demonstrates the incorrectbehaviour, because I can't guess exactly what you are
    doing based on the information provided.
    And don't forget to use the [url
    http://forum.java.sun.com/help.jspa?sec=formatting]Cod
    e Formatting Tags so the code retains its
    original formatting.
    Because I guess I don't understand your problem. I
    just reran my ScreenImage class. I changed the code
    so that when you click on the "Create Images" button
    I do the following:
    a) set the button invisible
    b) start a new Thread
    c) in the Thread I sleep for 50ms
    d) create an image of the frame
    The resulting image does not contain the button. I
    though you where trying to remove some components
    from the frame before taking an image of the frame.
    I believe I've done those 4 steps in my code. Here is the current code I'm using, with comments where I believe I am doing a, b, c, and d:
              saveButton.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent event)
                             sig1.setVisible(true); // a) setting fields visible and button invisible
                             sig2.setVisible(true);
                             sig3.setVisible(true);
                             saveButton.setVisible(false);
                             location = getLocationOnScreen();
                             dimension = getSize();
                             EvalRunnable evalRunnable = new EvalRunnable();
                             Thread t = new Thread(evalRunnable);
                             SwingUtilities.invokeLater(evalRunnable); // b) starting new thread (class EvalRunnable below)
                             sig1.setVisible(false);
                             sig2.setVisible(false);     
                             sig3.setVisible(false);
                             saveButton.setVisible(true);
    public class EvalRunnable implements Runnable
         public void run()
              try
                            Thread.sleep(50); // c) putting thread to sleep for 50ms
                   Rectangle screen = new Rectangle(ViewEval.location, ViewEval.dimension);
                   Robot robot = new Robot();
                   BufferedImage image = robot.createScreenCapture(screen); // d) creating image of the frame
                   JFileChooser jFileChooser = new JFileChooser();
                   int returnVal = jFileChooser.showSaveDialog(ViewEval.saveButton);
                   if(returnVal == JFileChooser.APPROVE_OPTION)
                        ImageIO.write(image, "jpg", new File(jFileChooser.getSelectedFile()+".jpg"));
              catch(Exception e)
                   System.out.println(e);
    }So I think I did those 4 steps you recommend. Did I do anything wrong? Thanks a lot for the help camickr and others.

  • Apple DVD Player-like screenshot censor / keystroke event handler priority?

    I am really interested on a way to restrict a fragment of my application to screenshots.
    I've managed to handle screenshot keystrokes and almost achieved what i wanted, BUT!
    Currently i'm struggling to fix problem with race condition between os' screenshot process. Usually i am first and i am able to hide part of my app against screen grabber, but that't not the rule. Sometimes my event handler is slower, than screen grabber.
    My question is - is it possible to increase event handler priority / main thread priority, so my app will receive all keystrokes with increased priority?
    Thanks in advance!

    The Fade In-Out behavior in the library palette
    animation\animation
    might give you some ideas.
    It is time basedd (fewer courser steps on slow systems) and
    works in
    background.
    It looks like you might be able to extend the mFadeActivate
    handler to
    work with your menu stuff
    Here's a rough example
    on mFadeActivate me, finalBlend, totalMS, excludeSprite
    To bring in menu sprite 10 and turn down any others mid
    process:
    sendSprite(10, #mFadeActivate, 100, 500, 0)
    sendAllSprites(#mFadeActivate, 50, 0, 10)
    The second call sets all other elements to 50% blend in 0
    time, except
    sprite 10
    if excludeSprite = me.spriteNUm then exit -- this line
    handles the
    exclued sprite num

  • Missing the install.app file for Adobe Photoshop CS6 Extended...

    Recently, I purchased a new Mac computer. We noticed there was not a CD drive, so we moved the Photoshop files over to a USB from my old computer. But, when we tried to open and install Photoshop, the install.app file was missing. The other install files were only compatible with Windows computers.
    Can anyone tell me how to fix this?

    KylieSommer wrote:
    So, I checked out the second linnk and it says something about needing an upgrade if I don't have to most recent version? Does that mean I'll need to upgrade to Photoshop CC before I can get a cross grade? Or can I keep the CS6 Extended version?
    Adobe loves confusing people with their marketing copy. Without trying, they often obfuscate the simplest of processes with poor wording.
    The platform swap process only applies to perpetually licensed versions since they're tied to platform specific serial numbers: Mac or Windows, never both ( applies to CS6 and lower). Not CC which is licensed for both Mac and/or Windows via your Adobe ID, so there's no platform swapping necessary.
    What Adobe is trying to say is that you can only swap platforms for the most current perpetually licensed version.
    e.g. CS6 Windows can be transferred to CS6 Mac.
    However, CS5 Windows cannot be transferred to CS5 Mac. You must pay the upgrade cost from CS5 to CS6 and swap platforms at the same time (that's a crossgrade). e.g. CS5 Windows to CS6 Mac is OK.
    Photoshop CC is entirely different. It is available to anyone but only via subscription, even without ever previously owning any Adobe software. There's no upgrading or crossgrading. You simply join up - but keep in mind that you never own the software.
    You don't need CS5 or CS6 to start subscribing to Photoshop CC. There's no connection with your CS5 license other than you can use your CS5 license to get a discounted rate for the first 12 months of CC membership.

  • Set trip currency according to personnel area

    We have a consolidated worldwide operations into one company code (in the US) but this company holds many employees who reside in other countries. We have set up a personnel area for each country, although all are assigned to the US01 company code. These employees are paid in their local currency (e.g. GBP, EUR, HKD) via local payroll companies. Expenses are recorded manually via journal entry.
    I would like to set up these employees to use travel management, but I cannot find a way to set travel expenses/trip currency according to their personnel area. In other words, I wish to reimburse my UK employee in GBP, Europeans in EUR, etc. When I try to change Trip Provision Variant for one personnel area, I receive an error message and am forced to change it for all personnel areas.
    The only solution I can find is to change Global Settings such that foreign settlement of receipts is set to "per receipt". I find this to be risky since the change would affect my 300+ US users as well as my 10-20 non-US users. I am concerned that a US user may complete their receipts incorrectly for foreign trips and inadvertently force reimbursement in foreign currencies.
    Please advise ...

    Hi Michele
    Yes, you can find out the currency from T500P and then checking the WAERS in T500.
    In the screenshot above, the departure country(or home country) is Philippines and the visiting country is Singapore.
    So when the employee arrives in SG, the receipt amount is shown in SGD and a comparable amount in PHP is also shown(As the amount has be reimbursed in PHP). It automatically factors into account that day's  currency conversion rate for SGD->PHP.
    You may want to check the parameter RECEIPTS for amount in local currency in the method USER_CHECK_RECEIPTS of the BAdi : TRIP_WEB_CHECK.
    Now all you need to do is to check if the employee's home country currency isn't equal to the receipt currency(left one in the screenshot), process the local currency(right one in the screenshot). Works well for single line item.
    For multiple line items, add up the amount of local currency of all line items and process.
    NB: USER_CHECK_RECEIPTS works for multiple line items in receipt page of expense report whereas USER_CHECK_LINE_OF_RECEIPTS works when you know the receipt won't contain more than 1 expense type. So better implement USER_CHECK_RECEIPTS to avoid processing only the first line item. Company's gain, employee's pain
    Do note that this BAdi works only for portal and not for SAP GUI.
    I hope you are abap developer.

  • Trouble getting Form Guides to render in Workspace, any ideas?

    I've been trying unsuccessfully to get any Form Guides to render correctly in Workspace. I've just began to dive into the Form Guides to investigate to see if they were a usefull tool to our users. I have been following the Adobe Form Guide documentation to a T, but with two different forms I cannot get them to render in Workspace.
    http://help.adobe.com/en_US/livecycle/8.2/fggettingstarted.pdf
    On one form, an xdp, the Form Guide starts to render the .swc, getting the frame of the Form Guide, but no content or objects from the original Form ever pulls in, it just stays static. I have the most simplest of process, just to test if the Form Guide will load.
    Then, on my other form, which is the basic sample Mortgage app process that you build in Adobe documentation. It's a pdf and I get a Workspace error : (ALC-WKS-007-040) and no .swc rendering.
    As stated in the Form Guide documentation, I'm using the Render Form Guide ES Update1 in my xfaForm variable. And the Advanced setting I used were from the documentation as well.
    My question is there something I'm missing or some way to track down my issue? Any help would be great. Thanks.

    What happens with Guide is it load up the HTML stub and then load the swf from the location defined in the stub. That location gets added in there by the TargetURL property of the render service. So make sure it's set properly.
    As for the XXX-040 error, this an error in the Render Form Guide ES Update1 service. Can you send the message from the error log?
    Jasmin

  • How do i add Linux systems to be monitored using Virtual agent/SNMP in OLT?

    Dear All,
    I need to know the process to add Linux systems to be monitored using Virtual agent and SNMP in OLT ?
    I have added my details to Virtual agent and chosen ssh and all i get is cannot connect
    Appreciate if someone can give me the detailed screenshot by screenshot process.
    Regards
    Praveen

    On 05/13/2010 09:30 AM, Raja Vengala wrote:
    >
    Yes, the problem is with the old packaged PLINK.exe. Downloaded version is working smoothly. Any reason for shipping the old version ??
    From: Mikael Fries
    Sent: Wednesday, May 12, 2010 11:56 PM
    To: Praveen Arora; Drupad Panchal; Matthew Demeusy; Ashish Dave; Raja Vengala
    Subject: RE: OLT Linux system moniting issue
    Praveen
    I have set up LINUX and virtual agent configs a couple of times, and it has worked pretty ok.
    What I found was that you might have to download a newer version of PLINK.exe and put that onto your OLT system.
    (with the packaged version, I also had some communication issues)
    Try to download the lates plink.exe and see if that works…
    (you may want to restart you system after replacing plink.exe)

  • Missing install.app file for CS6 Design Standard Student version for Windows/Mac

    My version is labeled Windows/Mac but there is no install.app file on the disk. Where can I obtain it?

    KylieSommer wrote:
    So, I checked out the second linnk and it says something about needing an upgrade if I don't have to most recent version? Does that mean I'll need to upgrade to Photoshop CC before I can get a cross grade? Or can I keep the CS6 Extended version?
    Adobe loves confusing people with their marketing copy. Without trying, they often obfuscate the simplest of processes with poor wording.
    The platform swap process only applies to perpetually licensed versions since they're tied to platform specific serial numbers: Mac or Windows, never both ( applies to CS6 and lower). Not CC which is licensed for both Mac and/or Windows via your Adobe ID, so there's no platform swapping necessary.
    What Adobe is trying to say is that you can only swap platforms for the most current perpetually licensed version.
    e.g. CS6 Windows can be transferred to CS6 Mac.
    However, CS5 Windows cannot be transferred to CS5 Mac. You must pay the upgrade cost from CS5 to CS6 and swap platforms at the same time (that's a crossgrade). e.g. CS5 Windows to CS6 Mac is OK.
    Photoshop CC is entirely different. It is available to anyone but only via subscription, even without ever previously owning any Adobe software. There's no upgrading or crossgrading. You simply join up - but keep in mind that you never own the software.
    You don't need CS5 or CS6 to start subscribing to Photoshop CC. There's no connection with your CS5 license other than you can use your CS5 license to get a discounted rate for the first 12 months of CC membership.

  • Is Aqualogic BPM a replacement for WLI ?

    Hi all,
    Until now I have worked with Workshop 8.x to build my processes.
    Now I have downloaded Workshop 9.x and I cannot see anymore JPD in it. I wonder if Bea is dropping WLI for Aq BPM......
    As in the subject: is Aq BPM a replacement for WLI ?
    Thanks
    Francesco

    Hi Leonardo,
    Let me re-iterate the basic rule of programming: "We never program for exceptions". The scenario that you are describing is very much valid and applied/followed in any orchestration process i.e. in no way the orchestration layer (BPM/ WLI/ BPEL etc.) access the data directly, but it is done through a Data layer or data services; however, one must take a business process in totality and not confuse it with a specfic use case.
    Let me explain, there is a fundamental difference betwwen the process view as described for a traditional RUP or UML model (which has its origins in Object Oriented Analysis and Design- OOAD) and the BPM model. The UML model characterizes scenarios or use cases by primary actor(s) and all other systems are secondary. thus a flow in UML is the perspective of a single actor. In contrast, if one looks at a business process in totality, it might have diffenert actors altogether, and all might be primary. For example, consider a simplest business process for order processing in retail domain. Though the process is initiated by the Customer, the entire activity of order processing (taking order, checking inventory, shipping, collaborationg etc) might have the intervention of several actors (Say sales dept, sales manager, delivery manager, sales rep etc). To represent such a scenario in WLI, one may have to develop several JPD's or work-flows, each workflow concentrating on the part of a specific actor. The coupling or ordering between these workflows might or might not be apparant to the business user on a top level. As compared to this, the entire scenario can be represented in one single model of BPM. The individual activities/ responsibilities of each actor can be detailed out in subsequent sections.
    Coming to you specific question, for that particular scenario, one might not want to go for BPM. Having said that, I will also specify that when looking at the entire business flow/ process, such processes are concidered as exceptions. The primary focus of any BPM solution is to automate the unavoidable human interventions that occur in any business process, and not plain orchestartion. Also, the worklist solution might help in a very limited user base, but is not able to handle the complex scenarios of user groups, multiple assignments, multiple roles for a user, which can easily be implemented in BPM (ALBPM organization chart)
    Your point about BAM in WLI is also valid, but tell me , as a programmer, or an architect, would you like to re-invennt the wheel for doing something for which BPM is providing an out-of-the-box solution,or would you life to invest your effort in doing something else like process enhancement and modification. The point being, one can also write POJOs for maintaining BAM databases and generate reports, but as a developer commisioned to architect/ build a business process, why would one invest his/her energies in developing BAM like features?
    Thanks and Regards
    Vivek Nandey
    BEA Certified Developer for Integration Solutions

  • How Can I Update the coils on Quantum PLC...

    Dear Sir,
    I am in the process of configuring Lookout4.5 build9 with Quantum PLC.
    I am trying to write two O/p coils of the PLC using two latchgate
    objects. I am using two different set of push buttons for latching
    and unlatching the two latchgates. After this I have directly
    connected the two latchgates to the O/P coils of Modbus object
    in modbus ethernet mode of communication.
    Now I am using the PLC simulator s/w of PLC to watch the status.
    When I start the first pump (coil1) and Stop the second(coil2),
    after sometime it is seen that the position is reversed such
    that the coil1 is off and coil2 is On. Though here in Lookout
    I see that the latchgate 1 is ON and latchgate2 is OFF.
    I am
    unable to understand this change over in the status of the coil.
    I have read one of the documents on NI website (Document ID:15QA2P9C
    "Why can't I update the coils on Quantum PLC without reading them
    back in?" Report dated:01/27/98). I think my problem is similar
    to that.
    So please tell me a proper method of updating the coils on Quantum
    PLC or how can I update the coils by reading them back ?
    OR is there any problem regarding the modbus.cbx file, if so please
    send me the latest modbus.cbx for Lookout4.5
    Waiting for your earliest response...
    Yours Truly,
    Girish Nalgirkar
    Theta Controls
    Pune, India.

    The KnowledgeBase that you refered to is 3-1/2 years old, and the problem in the modbus driver is long-since fixed. Their are no other known issues with the Modbus driver.
    The method you are using to update the coil sounds appropriate. What I would first verify is that Lookout is not sending a command to toggle the coil.
    1) Write the simplest possible process that shows the problem (ie 2 pushbuttons, the modbus object, 1 latchgate).
    2) Create a "modbus.ini" file in your Lookout directory. Place the following in the modbus.ini file:
    [ethernet]
    DiagnosticPath=c:\
    3) Run your program until the problem occurs. If it does, find the "modbus1" file created in the C:\ directory. This file contains a log of all modbus communication that moved back and forth. Check the
    log to see if Lookout sent a command to the PLC. If no command was sent, then the change occurred internal to the PLC software.
    Regards,
    Greg Caesar
    National Instruments,
    Applications Engineer

  • Procedure for transfer data between clients using ALE

    Hi all ,
       I am new to this concept .
       I want to transfer the material master data from quality client (200)  to  Development Client(100) using ALE and IDOC, how to do ?
    What would be the procedure ? plz let them explain step by step of definition along with screenshot / process ....
    Regards
    Deepa.

    T.Code: BD54
    Step 1:create a logical system qaout in quality system
    Step 2:create a logical system devin in quality system
    Step 3:create a logical system qaout in development system
    Step 4:create a logical system devin in development system
    T.Code: SCC4
    Step 5:Assign qaout to 200 client in quality system
    Step 6:Assign qaout to 100 client in development system
    T.Code: SM59
    Step 7: Create R/3 type (or ABAP type in ECC)RFC destination RFCDEV in quality system
    T.Code: WE21
    Step 8: create Port with above rfc reference in quality system
    T.Code:BD64
    Step 9:Create distribution Model (use matmas message type) in quality system
    then  Environment ->Generate Partner profiles
    Then Edit ->modelview -> distribute
    T.Code: BD10
    Step 10: select the material for distribution in Quality System.

  • HT4527 I am trying to transfer music files from one PC to another using homeshare and although I can view the music as a shared folder I cannot initiate the "import" process.  I have iTunes 11.0.1.12 on both computers so the help screenshots do not help a

    I am trying to transfer music files from one PC to another using homeshare and although I can view the music as a shared folder I cannot initiate the "import" process.  I have iTunes 11.0.1.12 on both computers so the help screenshots do not help as such

    Then stop trying to use HomeShare and use one of the other options listed in the document from which your question was posted.

  • HT201263 What will i do?screenshot There is a problem with your iPhone. Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. To find your nearest Apple Store, cli

    What will i do? ITune screenshot is as follows >
    There is a problem with your iPhone. Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. To find your nearest Apple Store, click here.

    Do what it said to do.
    "Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. "

  • Validation of SAP End to End process,screenshots capture

    Mine is an automation SAP testing project using QTP 10.0
    We are supposed to send validation to onsite guys.
    We tried using HTML coding and also word document to capture the screenshots.
    Size will be very big for word document and for HTML the location was the BITMAP of the screens are saved are not accessible by onsite folks.
    Please help in finding the solution

    Hi Vikrant,
    Whenever you are integrating MDM with any SAP or NON-SAP system data flow takes place in the form of Files.
    If the data format are in the MDM understandable format then the data exchange can take place smoothly even without the use of XI,however if you are exchanging data in formats like Idocs or Bdocs which are not understandable by MDM then XI comes in the picture for data conversion and data monitoring purposes.
    If you data flow in the form of Idocs rae failing then you need to find the reason of failure by using Transactions to monitoring the status of the idocs for eg status 51 will point that there is a problem in the data.
    In this way you can test the integration of the scenario using XI in place.
    Note that creation of a master by entering into the ERP system like ECC is different than creaating the master through the form of an idoc.There are a lot of mandatory and optional like validations that may not be true in both the cases.
    So the only way is by monitoring the idocs flow nad faliure in the ECC system or XI system.
    Kindly refer the below thread:
    Re: Idoc failure
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Lexicographic image processing

    I want to process the array of an image lexicographically (meaning reading as you write, so from left to right). Normal arithmatic functions (division, multiplication etcetera) multiply the entire array, but I want to push the top-left pixel through my algorithm, and then the one to the right of that, and after that one the one to the right of that, up until the last pixel, and then it starts with the pixel one row beneath the first one all the way on the left.
     To illustrate, imagine an image of 12 X 16 pixels:
    I want to calculate what value each pixel is supposed to have. I do this by comparing the actual value with the value I want. I calculate the value it needs to be at a certain pixel by looking at how far it is from the origin. The origin is in the center:
    The distance then from the origin to the actual pixel is this:
    The length of this 'vector' is then calculated by splitting it into a horizontal and vertical part:
    The length is then the the x-coordinate squared and the y-coordinate squared added together and then the root of that number is taken. So that's basically the theorem of Pythagoras. I know that in this case, the length found is not the real length, because you use x=1 and y=1. So first off I subtract 8.5 from the x value and 6.5 from the y-value before going any further.
    But I want to process the pixels in the order of y=1 x = 1, 2, 3, 4, 5, 6, 7, 8 etcetera and then y=2 x=1, 2, 3, 4, 5, 6, 7 etcetera. That is exactly what lexicographical processing is. But how can I get this to work? In my VI you can see how I am currently exporting just the numbers of the total size of the image (or frame of a video), but I want to process them one by one. I looked up some helpful Labview files that do something similar, like the 'Check Pixel Value' VI but there you have to manually scroll through the data. I want it to happen automatically.
    So how can I process pixels of an image lexicographically?
    Solved!
    Go to Solution.
    Attachments:
    USB Webcam n-bit to corrected 1 bit.vi ‏59 KB
    Check Pixel Value-2013.vi ‏31 KB

    Yes, I do have a 2D array. I use the IMAQ Vision VI's to get my webcam to run. The solution is rather simple in that sense, yes.
    But here is the deal though: the comparing with the Lorentzian function returns me a value. That is rounded to either a 0 or a 1, because it will be the pattern used for a Digital Micromirror Device (DMD). This induces an error. In order to make up for that, I need to correct it using neighbouring pictures (if a pixel is surrounded by 8 pixels, then the diagonal pixels are primarily used for this). I tried something similar in which I split it into 'rows' and process that, but that ofcourse removes the option to resolve the induced error.
    The 'easiest' way is to split it into 1024 times 728 pixels and hook all of these up to the formula and connect each of them to their corresponding pixels, but that would take several months, so that's not an option.
    Could you be more concrete in how you would do this? I tried something similar but thought, because of that error resolving, it would remove the option to work in this way, because it doesn't allow 'inter-row interaction'.
    To give you some background:
    I want to use a DMD to create a laser with a top-hat wavefront, meaning it's intensity distribution is equal everywhere on every point of the wavefront. For this we hook a CCD camera up to our computer which measures the intensity distribution. This image is then sent to our Labview program, which processes this image and turns it into a pattern for the DMD. The DMD or Digital Micromirror Device is a device that is made up of thousands of tiny mirrors, all of which can stand in either + 12 degrees or -12 degrees.
    We look at the profile and compare that to a profile as simulted by a Super Lorentzian function
    A Super Lorentzian function looks like this:
    A / (B + ( (X-C)/X0) ^n)) + D
    A/B is the top value
    C is the horizontal transliteration
    X0 is a value referring to the width of the function
    n is a power
    D is vertical transliteration
    For even numbers of n the function produces a top hat function. In our case, we want to simulate an eigth order Super Lorentzian, so n=8
    The image of the CCD Camera is a 12 bit image. Labview saves this as 16 bit, meaning it has 2^16 different grayscale values.
    I don't have the CCD camera yet so for now I use the webcam of my laptop and turn that into a 16-bit image.
    Here a some screenshots of my program so far:
    And a SL function looks like this:
    Our error inducement comes from an algorith developed by Dorrer and Zuegel, two german physicists.
    A screenshot of their paper concerning binary spatial light modulation:
    But the main issue I am concerned with is thus the error inducing. Doesn't normal array processing remove the possibility to do so? And if not, how can I do it?

Maybe you are looking for