Partion an image into parts

hi
  does anyone have any ideas on how to split a single image into multiple parts and making each part a control. All I need to do is show a single image on the front panel and capture the event depending on which part of the image the user clicked.

If you're using a Mouse Down event for the picture (assuming you use a picture control), then on the left side of the event structures you should have some terminals providing event data. One of these is Coords which returns the coordinates of the click which you can use to determine which part was clicked on.
Note that the coords are VI coords, so you will have to use a property node for the control to get its position on the FP and substract that from the coords. You can do the same if you have a decoration, but to get a reference to it, you will have to go through the front panel and getting a reference to a control is easier.
Try to take over the world!

Similar Messages

  • Cut an image into A4 format pages from java

    I have a large image.
    I want to cut it in several A4 format pages.
    How can I cut the image into parts from java?
    Edited by: SnScreen on Apr 30, 2008 2:55 PM

    Then get whatever-you-want-to-have's resolution and calculate the rectangles.
    Don't you think you need to determine the size of a pixel before you can determine the size of a pixelized image?
    This is soooo nonsense. A4 is a paper format, so to get something in A4 you need to print it. Or at least consider printing it. And thus you need to know the printer's resolution. Even if you determine A4 to be say 800x600 pixels, in printer A and printer B with different resolutions, at least one if not both of them will still print it in something different than A4.

  • I need help dividing an image into two equal parts in Adobe Illustrator CC--ASAP!!!

    I need help dividing a single, already created image into 2 equal parts...Am getting nowhere so far

    Hi Willi, thanks so much for responding! Below is the image I need to divide in half. The left half where it says "Click here for the definition" links to a landing page where people can read the definition of the Hebrew Word. The right half links to an audio recording of the Hebrew word being spoken aloud. I am trying to figure out how to use the scissors or knife tool in Adobe Illustrator and am having no luck. Plus I believe there's a way to include URLs on each separated part, but I can't get past figuring out how to cut it. My background is not graphic design

  • How convert a big image to parts of images? means split a jpg image to several sub imges.(thi​s sub image can joint into that big image)

    hi friends..
    how convert a big image to parts of images? means split a jpg image to several sub imges.(this sub images can joint into that big image) any help
    Solved!
    Go to Solution.

    In the example, i have created two images and added them together, and the converse can be done in the same way.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • Is it possible to clone one part of an image into another in iphoto?

    Since it is not possible in Aperture to clone one part of an image into another photo is it possible in iphoto?

    No.  You will need to use an image editor that can handle layers.
    Some Image Editors that support  layers:
    Photoshop Elements 9 for Mac - $79
    GraphicConverter - $45
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50 Pixelmator - $60 
    Seashore - Free
    Portraits and Prints - Free
    GIMP for Mac - Free
    Of those I believe you get the most bang for the buck with PSE 9.  The following are some of the advanced editing you can do with it:
    Click to view full size
    Click to view full size
    Additional possible candidates for editors can be found by searching for "edit" at MacUpdate.com.
    OT

  • How to clone one part of an image into another

    Is it possible in Aperture to clone one part of an image into another or as in windows fuse the photos together?
    Thanks

    This points directly to the difference between a digital image conversion and development program, and a graphics program.
    Development programs' tools adjust the color and luminance information in each pixel.  They do not (mostly) add any information to the pixels or to the image.
    Graphics programs are built around adding information to images (or blank canvases).  Rectangles, circles, text, other images -- these are all graphics elements which are combined to make a new image.
    Aperture is the former (and also a superb digital asset manager).
    The generalized workflow is this:
    Capture information using a digital camera
    Optimize that information (make the picture as good as possible) using an image development program
    Combine pictures and graphics elements to make new graphics using a graphics program
    There are many excellent graphics programs.  Photoshop is the best known and most used.

  • How do I turn an image into a transparency?

    Hi,
    There's a question I've seen asked dozens or hundreds of times, and I thought I found an answer a few years ago. I've since forgotten how to do it:
    Turn an image into a transparency.
    Now, the obvious solution is to set the layer to "multiply." Yes, this is the effect I want. However, I want the layer to be transparent instead.
    Another solution is to draw an image on a transparent layer. This works great, but only applies if I create the image from scratch. I want to convert an existing image.
    Another solution is multiple steps:
    1) Copy image
    2) Click "edit in quick mask mode."
    3) Paste image
    4) Exit quick mask mode.
    5) Invert selection.
    6) Ctrl+backspace to fill selection with black, on a blank transparent layer.
    Result? The image is now transparent! However, this converts the image to greyscale! Great for linework and text, terrible for photos or art!
    In an older version of Photoshop 7, I believe I got the following to work:
    A) Follow the previous steps 1-6, creating a layer with transparency
    B) Copy the original picture to a layer above the transparency
    C) Group the layer with the transparency layer below. (Note, grouping doesn't work the same any more.)
    D) The top layer provides the colors, but the bottom layer provides the transparency.
    E) It is too light, so you take the top layer, and maximize "saturation" 100%.
    F) Merge the two layers. It retains the transparency of the bottom layer, with the hue of the top layer.
    This no longer works, because I don't know how grouping layers works anymore.
    So, I need white pixels to be transparent. Black pixels to have zero transparency. Red pixels to have zero transparency. Etc.
    Meanwhile, grey pixels are solid black, but partly transparent. Pink pixels are solid red, but partly transparent.
    All pixels are 100% saturated, and the "lightness" is determined by how transparent they are.
    So, an analogy would be printing a photo on a transparency. I need to convert an image to a transparency.
    If the image/layer were overlaid on white, it would look exactly like the original photo.
    Does anyone know how to accomplish this? Mathematically, it's easy. But I don't know about any filter, process, or method to make the conversion using CS5.
    Thanks,
    Ben

    Hello!
    I hope that I understand what you need.
    (One could just put the image on a layer, and lower its opacity, but you seem to be looking for an effect in wich the tranparency is not the same for all pixels.)
    Try this:
    1) Turn your image image as a layer (double-click it if it is a background layer) [In order to add a mask]
    2) Select all, Copy (CTRL+a, CTRL+C)
    3) add a layer mask (click the rectangle with a circle in the bottom of the layers panel) [to be able to change transparency]
    4) target the mask [so that you can past an image in it] ALT+click the mask, paste the image.
    5) Invert the colors of the mask (CTRL+I) [in order for the white to be transparent and the black opaque].
    You now have a layer whose transparency is based on the lightness of the pixels.
    Hope that's what you are after!
    Pierre

  • Inserting or embed and image into cfmail output from a database-stored path to an actual image.

    I am trying to insert or embed and image into cfmail from a database-stored path to an actual image. The actual JPEG image is stored in a folder called "images_personnel". The path to the image under the column titled photopath is stored in my database table as "/file/images_personnel/28.jpg". Displaying the image on the screen renders without a problem, embedding the same image as part of a cfloop query does not insert/embed the image into an email. All of the other output of the same cfloop displays and emails just fine. However none of the photos of each personelle show up. What an I doing wrong?
    My code is below:
    <cfquery name="Staffreport" datasource="master">
    Select staffreport.*, name.personnelid, name.email, name.last, name.noiid, stafflt, CONCAT(name.fname,' ',name.middle,' (',name.last,')') AS teammember, CONCAT(name.fname,' ',name.middle) AS teammember2, concat(name.photopath,'',name.photo)as hisphoto, stafflt.*, trim(concat(ltfname,' ',ltmiddle)) as LT from Staffreport, name, stafflt
    where 0=0
    and stalt = '#Session.user_id#'
    and ltid = '#session.user_id#'
    and staweekbegin = <cfqueryparam value="#form.staweekbegin#" cfsqltype="cf_sql_date" />
    AND staweekend = <cfqueryparam value="#form.staweekend#" cfsqltype="cf_sql_date" />
    AND stapersonnelid = personnelID
    <!---AND ltid = stalt--->
    AND CITY = 'richmond'
    AND STATUS <> 'd'
    AND STATUS <> 'T'
    AND type = 'personnel'
    Group by personnelid
    Order by teammember
    </cfquery>
    <cfmail>...
    <cfloop query="staffreport"><br />
    <table width="90%" border="0" cellspacing="2" cellpadding="4" align="left">
      <tr>
        <td colspan="2" align="center" valign="top" nowrap="nowrap" bgcolor="cccccc"><strong><font color="black"><cfif #staffreport.last# eq ".">#Ucase(Staffreport.teammember2)# <cfelse>#Ucase(Staffreport.teammember)#</cfif> - ID: <cfoutput>#Staffreport.noiid#</cfoutput></font></strong></td>
      </tr>
    <tr>
        <td align="left" valign="top" nowrap="nowrap" bgcolor="#000000">Name:</td>
        <td>#Staffreport.teammember#</td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Photo:</td>
        <td bgcolor="EBEBEB">
    <img src="#staffreport.hisphoto#" alt="Photo" width="98" height="98">
    </td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Email:</td>
        <td bgcolor="EBEBEB">#staffreport.email#</td>
      </tr>
    </table>
    </cfloop>
    </cfmail>

    You'll need to provide a full URL link to the image ("http://mywebserver/file/images_personnel/28.jpg"), not just a relative path.  Remember, the email client that is used to view the email content knows nothing of the internals of your web server - it can only follow a complete URL to get images and other resources.
    -Carl V.

  • How to: add images into an Interactive PDF

    I was wondering if it was possible to add images into an interactive PDF once it has been sent to someone. The PDFs are forms that need to be filled by a client via their iPads using Adobe Expert, and they may need to occasionally attach images to the document and be able to edit these images (i.e. circle parts of the image to highlight them) then send these PDF's back to myself.
    Is there a way this can be done?
    Thanks

    There is no program on the iPad called Adobe Expert. I think you mean Adobe Reader.
    Adobe Reader lets you fill in forms but not to attach images. If you wish to make a request of the Adobe Reader product manager, you can post on the Adobe Reader for iOS forum here:
    http://forums.adobe.com/community/adobe_reader_forums/ios

  • Puttin Images Into the Database

    I am designing an artists painting archive.
    I have been able to introduce non-database images into a part of the template, utilizing HTML . GREAT!! ---- BUT, I'm not really understanding how to database the images themselves. I think I have the relevant code/instructions below.
    Could anybody help me "see" these instructions (below) a little better? I think I'm missing something. My confusion starts with the table -- what exactly should it look like?
    Thanks,
    Osunga

    First (make sure that you are logged in as the ADMIN for the ApEx Schema)
    Create the table and indexes
    create table TS_IMAGES (
    IMAGE_ID number not null,
    NAME varchar2(200) not null,
    FILENAME varchar2(200),
    MIME_TYPE varchar2(255),
    DOC_SIZE number,
    CREATED_BY varchar2(255),
    CREATED_ON date,
    CONTENT_TYPE varchar2(128),
    BLOB_CONTENT blob null
    create unique index UK_TS_IMAGE_ID on TS_IMAGES( IMAGE_ID )
    create unique index UK_TS_IMAGE_NAME on TS_IMAGES( NAME )
    --Now create the display procedure
    CREATE OR REPLACE PROCEDURE ts_image_display (p_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (200);
    l_blob BLOB;
    BEGIN
    SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.getlength (BLOB_CONTENT)
    INTO l_mime, l_blob, l_file_name, l_length
    FROM TS_IMAGES
    WHERE IMAGE_ID = p_id;
    OWA_UTIL.mime_header (NVL (l_mime, 'application/octet'), FALSE);
    HTP.p ('Content-length: ' || l_length);
    OWA_UTIL.http_header_close;
    WPG_DOCLOAD.download_file (l_blob);
    END ts_image_display;
    --DON'T forget this!!!!
    GRANT EXECUTE ON ts_image_display to PUBLIC;
    Next create your page and region with a FILE BROWSE item and UPLOAD button. Have the UPLOAD button trigger this PL/SQL procedure
    (I threw in a few of my own fields as well)
    declare
    i NUMBER;
    begin
    --copy the image from wwv_flow_files to ts_cab_card_img
    insert into TS_IMAGES (
    IMAGE_ID, NAME, FILENAME, MIME_TYPE, DOC_SIZE, CREATED_BY,
    CREATED_ON, CONTENT_TYPE, BLOB_CONTENT)
    select ID, NAME, FILENAME, MIME_TYPE, DOC_SIZE, CREATED_BY,
    CREATED_ON, CONTENT_TYPE, BLOB_CONTENT
    from wwv_flow_files
    where NAME = :P10_NAME;
    --get the ID for the corrollary table
    select IMAGE_ID into i
    from TS_IMAGES
    where NAME = :P10_NAME;
    --add corrollary data to secondary table
    insert into TS_CAB_CARD_DATA (IMAGE_ID, VIN, LICENSE, LICENSE_ST, LICENSE_EXPIRE,
    VEH_YEAR, VEH_MAKE, VEH_MODEL, TS_ID, GVW, OVERLENGTH_PERMIT)
    values (i, :P10_VIN, :P10_LICENSE, :P10_STATE, to_date(:P10_LICENSE_EXP, 'MM/DD/YYYY'),
    :P10_V_YR, :P10_V_MAKE, :P10_V_MODEL, :P10_TS_V_ID, :P10_GVW, :P10_PERMIT);
    --delete the original
    delete from wwv_flow_files
    where NAME = :P10_NAME;
    end;
    Mine takes additional fields and adds the data to a corrollary table linked by ID. This allows me to customize the type of extra data I store independent of the image. Also note that the variable names will change according to your application.
    Now create another page with a report region. Here's a query to display the report:
    select IMAGE_ID from TS_IMAGES
    Now edit the field in the REPORT and put the following code in as the HTML Expression
    [img src="#OWNER#.ts_image_display?p_id=#IMAGE_ID#" /]
    (replace the brackets with the standard lt/gt
    Voila! It works!

  • __Can I merge one large Bitmap image into another?

    __Can I merge one large Bitmap image into another?
    I have 2 very large hi-res Bitmaps that I want to merge together into 1 file without converting to grayscale or anything. The problem is the second Bitmap is like a 'patch' and I want to insert it into the other like a puzzle piece, while maintaining corect registration (the bitmaps combine to a 4 colour seperation).
    Thanks in advance!

    1bit Bitmap offers no layer capabilities so going through grayscale seems advisable. (Edit: Naturally one should at the end of the combination process convert to bitmap again.)
    Other than that you could after pasting remove parts of the pasted content with the selection tools (setting them to subtract with alt).

  • How can I Manually Insert an Image into a Picture Control?

    Hi,
            I am able to insert an image programmatically into a picture control. But I want to insert an image into the picture control without any code that is manually. How can I Do that?
    Thanks in Advance
    Regars,
    Malleswari

    malli wrote:
    Hi,
            I am able to insert an image programmatically into a picture control. But I want to insert an image into the picture control without any code that is manually. How can I Do that?
    Thanks in Advance
    Regars,
    Malleswari
     You may also drag and drop a picture directly to your front panel. You can also use paint, or some other tools,  to copy a part of a picture and past it into your front panel. This actually works for the block diagram also. Se example 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    pic example.vi ‏157 KB

  • How to import PDF image into Pages manuscript that is larger than the text bed margins

    How do I import a PDF image into a Pages book manuscript, whose dimensions are larger than the global text bed margins? Any imported PDF image is automatically shrunk to fit within the text bed. I know I can set up a single page with wider margins and a text bed within it, but I want the image to import to a page already within the manuscript sequence, where the text bed margins are set and constant.
    Larry Kettelkamp
    [email protected]

    By default it should be dragging in as a floating image and not part of the text.
    What version of Pages are you using?
    In Pages 5 this is:
    Format > Arrange > Object Placement > Stay on Page > Size > Original size
    Peter

  • Problem with importing images into time lapse

    Hi
    I am having problems with importing still images into a time lapse sequence in photoshop and would appreciate any suggestions!
    I want to create a time lapse using a sequence of still photographs.  All file names are sequentially name/numbered. 
    I am using the Motion workspace, and have followed all of the instructions available. 
    Create correct sized new document (film & video).
    Create video timeline.
    Set frame rate.
    Choose 'create new video layer from file'.
    Point to first image in the folder where the images are stored.
    At this point, no matter what I have tried, I receive this error:
    I have tried different sized new documents; tried jpegs and tiffs; tried different frame rates, tried different qualities and sizes of images; tried selecting the last image instead of the first (one recommendation).
    If I use the 'Place' command from the file menu (and check the 'image sequence' box) instead of selecting 'Create new video layer' from the layers panel, it loads fine and I can still render the video.
    It took me most of a day to discover this workaround, but every other reasonable 'how-to' that I can find says that I should be able to do it by opening files into a new video layer and it seems as though the new video layer option may give me more alternatives.
    Anyone have any idea why I could be having these problems?
    I have reset Photoshop, deleted the settings file, even reinstalled it.  I use 64-bit on windows 7 and even installed the 32-bit to try that, but all with the same result.
    Stuart

    Unfortunately, yes--I've tried it that way over and over, and every other way I could think of.  The files are all in one folder, and I've converted the raw files to both tiffs and jpegs.  I even tried converting them to jpegs at the final pixel dimensions.  Each folder that I have used only contains one type of file, and they are all part of the same sequence and sequentially numbered.  I have even tried renumbering the files with numbers first, numbers last, numbers only, moving underscores.  I moved the files from my external hard-drive to the desktop ... I have a lot less hair than I had only a few days ago!
    I've looked at a few other tutorials that outline the same sequence of steps, and tried them over and over, and then changing one step at a time to make sure that it was not a single step that caused the problem.
    The thing that is really bugging me is that it works fine if I use the different approach of using the place command instead. 
    Anyway, thanks for all of your time.  It's going to be a lot simpler to just stick with 'place' command and I will likely do that, but I tend take things like this as a challenge.  I like to know WHY it won't work for me.  Sometimes it seems that there is just no logical explanation!
    Stuart

  • FCP 10.1.3 multiple graphic images into one frame

    Hi - How do I put multiple graphic images into one frame? - so it kind of looks like a video wall - except these are still images. I can do it manually but it's not precise. Anyone found a way other than this? Thanks.

    Here is my quick and dirty generator called "9 Pictures": https://www.dropbox.com/s/92c536wgesh2yzj/9%20Pictures.zip?dl=0
    To install it, unzip the file and place the folder inside /Users/yourname/Movies/Motion Templates/Generators
    It will look like this in FCP X. You just have to click each drop zone icon in the inspector and then select the desired clip from the browser. Use the Pan and Scale controls in the inspector to select which part of each image you want to use. Note: this was done in the hope that it may be helpful, but it is no more than a quick thing. You can also control-click the generator in the generator browser and choose open in motion (if you have it) to see how it was done and to modify it.

Maybe you are looking for

  • Error in phase "main_shdrun/act_upg" upgrade sapnetweaver 7.0 to EHP1

    Hello expert, I get error when upgrade our sapnetweaver pi 7.0 SP09 to EHP1 in phase MAIN_SHDRUN/ACT_UPG. I've try many suggestion in sdn forums, but cannot resolve my troubles. This is the content of file ACTUPG.ELG in my EHPI\abap\log:   LIST OF ER

  • IDVD 08 worked, now freezes

    My particular situation is that iDVD 08 worked fine for about 2 weeks. Now when I open it, the "loading themes" bar comes up for a while, goes away, then the dreaded "whirling beach ball" goes on forever (only on the menu bar), and I have to "force q

  • Ajax Bridge vs. the ExternalInterface Class

    Hi, I am writing a pure Actionscript 3 application in Adobe Flex. I want my application to interact with scripting in a browser. It seems that there are two options: Adobe's Ajax Bridge (typically used with a Flex application that uses mxml?) and Ado

  • Simple Decode Query

    Decode Query Simplified version of query below. SELECT d.REG, d.DP, c.CHANNEL FROM CUSTOMER c , ACCOUNT d WHERE c.ID = d.ID GROUP BY d.REG, d.DP, c.CHANNEL Channel Field in Customer Table contains Multiple Store ID's (Store 1,Store 2, Store 3,Store 4

  • Changes in connection since 2 weekly reboot

    Hi All, My HH5 rebooted last night for its fortnightly reboot. These are my details right now since the reboot: 1. Product name: BT Home Hub 2. Serial number: +068543+NQ45126695 3. Firmware version: Software version 4.7.5.1.83.8.204 (Type A) Last upd