Resize intensity image based on pixel dimensions

Hi,
I want to resize an intensity graph to an exact pixel-by-pixel size, but I do not see this option anywhere.  Right now I need to create a 257x256 intensity graph on the front panel, but I have no idea how to do this.  Does the graph automatically reshape the viewable area based on the dimensions of the 2d array that I provide it?
Thanks,
Anthony

Hello,
There is an intensity graph property available called Plot Area: Size which will set the plot area (width and height) in pixels - I think this is exactly what you are looking for.  Attached is an example of this in version 7.1, otherwise you can just right click the intensity graph on your block diagram and Create -> Property Node, and then use the operating tool on the property node to select the noted property.
Best Regards,
JLS
Best,
JLS
Sixclear
Attachments:
Programmatically Set Intensity Graph Plot Area in Pixels.vi ‏24 KB

Similar Messages

  • Guys, i want to ask on how to resize the images into 1200 pixels wide?

    Guys, i want to ask on how to resize the images into 1200 pixels wide, how to do it? and what are the step by steps on doing that? thank you!!!

    See this link: http://forums.adobe.com/docs/DOC-3691

  • Rescale images based on largest dimension

    I want to batch resize photos for web output. Ideally I'd like to set a max size based on whether they are vertical or horizontal, such as 400 high if vertical or 500 wide if horizontal (without presorting into tall and wide folders). If this is not possible, then, "reduce longest dimension to 500 pixels". How do I do this?

    I have Photoshop CS (older version) and I am trying to batch resize photos for web output. Last week this function was working fine and now it won't resize anymore. File menu > automate > batch is the path I take. Can anyone tell me why "Batch" is resizing to the same size and not to 400 - 500 range???

  • How to find out the Pixel Dimensions and Document Size of placed images?

    Is it possible to find out the placed image details like Pixel Dimensions(Width,Height) Document Size(Width,Height) in illustrator through scripting. Kindly advice me with some examples.

    http://www.adobeforums.com/webx/.3bbaa316.59b84fd8
    I hope the snippet therein will get you started.
    But after all, when you place an image via pi=layer.placedItems.add() it should pop in with its default dimensions, so that you have pi.height and pi.width ready.
    Is this what you are aiming at?

  • Image files with large pixel dimensions display out of focus in a Bridge viewer?

    I Create image files with pixel dimensions 2048x1365. When I display these files from Bridge on my Mac, either by pressing the space bar or in a slideshow, the images are out of focus. If I left click or click/hold and move the images slightly on screen they display in sharp focus. Unfortunately, although landscape-orientation images display correctly with no change in position or size, portrait-orientation files are enlarged and display with top and bottom off the screen. The pixel dimensions of my monitor are 2450x1600 so, yes, if portrait images are displayed at 100% they should display off screen, but this does not excuse the out of focus display of landscape files on this large screen. Nor does this explain why the portrait files are out of focus when they fit on screen. When the same files open in a Camera Raw window they are in focus. When they open in Photoshop at 100% the files are in focus.

    Hi, Clay. Photoshop.com has its own forum, so you might want to post this there:
    http://forums.adobe.com/community/photoshopdotcom

  • Resizing an image in a layer using values from another layer

    After resizing an image on a layer, is it possible to easily copy the resized width & height (pixel) values to images on other layers?  If so, then how?  I'm guessing there's an easy way, but it eludes me.  Copying the values manually is okay with just a couple of layers, but rather tedious for changing many layers.

    You could record an action to resize the layers. You could use the action only
    on one layer at a time.
    1. Pick the layer you want to have the other layers resized to and find the pixel dimensions
       of the layer i.e w 422 x h 830.
    2. Pick the layer you want to resize and make it active.
    3. Start recording the action following the steps below:
       (the menu commands are in red)
    4. When you get to the image size dialog, set as below with your own
        pixel dimensions. Don't change anything in the document size from
        how it's set when the dialog opens.
    5. After you record the action set the image size dialog so it opens
       whenever you run the action so you can change the pixel dimensions.
      Click in the box to the right of the checkmark (highlighted above in red)
    More info on recording actions
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7451a.h tml
    You can align or distribute layers with the move tool
    more info
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-78c2a.h tml
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-78c1a.h tml
    MTSTUNER

  • JAI runs out of heap when resizing big images, Java2D not

    Hello,
    I was doing some tests wit PMIW library (which wraps both Java2D and JAI) and it seems Java2D is much faster and doesnt eats as much memory as JAI (I have tested the native version only).
    Do you have a clue why?
    Thanks

    Correction: I have testet non-native version only (the pure-java one).
    The test was simple: resize large images (thousands of pixels in width and height).

  • Cropping/resizing image by pixel dimensions

    I am trying to crop or resize an image that is originally 2,122 x 1,415 px | 7.1 x 4.7 in | 300 dpi. I am to crop/resize image to fit 756 x 275 px. However, I don't want to lose the whole image. I would like to use the whole image just adjust it to the dimensions.
    How can I accomplish this without creating any distortion or by removing elements by cropping the image?

    Hello Slange,
    may I propose a solution based on a more mathematical derivation, where I assume the height of 275 px is decisive. The way is the same, if the 765 px width is important.
    The reduced copy of 2122 x 1415 provides 412 x 275. To the wished 756 you need: 756 - 412 = 344. Splitting it into two parts I'll get 344 : 2 = 172. These I mount now (The black borders are only for better overview.) to an image with the wished measures 756 x 275:
    The white area you can fill it with any suitable color.
    Hans-Günter

  • Pixel dimensions for still images

    Hello all,
    I have just ran into a problem that seems to be a sizing problem with Final Cut Express HD. I used to crop my still pics to 1366 px - 768 px (for landscape) and then import them to FCE and export as a quicktime movie. When I brought the quicktime movie into iDVD and created the DVD it seemed to play great on my 46" Samsung tv -- full screen.
    I just recently bought a Samsung 60" and when I create the same type of movies, I am getting a huge black border around the whole image (not just top and bottom but sides too). I tried creating a new movie and made all my still images 1920px x 1080 px, and it still comes out the same way.
    I can stretch my tv so that they go full screen, but I think there should be a way to create the movie without having to stretch it....just have the tv set for 16:9, and I feel that it should work.
    Any help would be greatly appreciated...thanks.
    Norm

    When you create a DVD, no matter what the pixel dimensions of your original material, it become 720x480 Standard Definition. This is what a DVD is. If you are creating a DVD that has material that is 16x9, then it creates a DVD that is 720x480 but plays back anamorphic, stretching to create the 16x9 screen.
    If you play one of your older DVDs that played correctly on your previous TV, does it play correctly or does it also exhibit the black bars?
    If it plays correctly then something has changed in the way you are creating your project in FCE.and encoding and burning the DVD.
    If the older DVDs also exhibit the same playback problem, then I believe there is a menu setting on your new TV that will tell it how to display Standard Definition material from your DVD player, and you need to adjust that. (There are also settings in the set-top DVD player that tells it what kind of signal to send based on the what kind of display it is hooked up to.)
    MtD

  • Where is it possible to batch process the size of images?--I am able to change pixel dimensions in image processor but not image size in inches.

    Hi- I need to batch process images for video project.  I am able to change the pixel dimensions in the image processor but don't seem to have the option to change image size in inches.  Please advise!  Thanks

    You don't need inches for video (or screen viewing in general). It all goes by pixel count. Inches is for print, nothing else.
    But to answer the question, you can run actions in the Image Processor, and this is where you set size in inches. Just bring up Image Size, uncheck "resample image", and specify size. You'll notice resolution changes to reflect the fact that the existing image pixels are now redistributed over the new print size.
    But again, screen doesn't care about size or resolution. It only counts pixels.

  • Resizing an Image using pixels

    Hi I used to use Photoshop CS4 on another computer. I resize a lot of my images to 1024 pixel width. Howver in Photoshop Elements 7 (which I have just bought) and I can't find out how to resize the image using pixels as the units. I am doing 'Image Resize' It has a lot of units to choose from e.g. inches/picas/points. But no pixels. Please help! Thank you very much.
    Rich

    The top section is pixels. Turn on Resample Image and you can make changes there.

  • What Is The Best Image Pixel Dimensions For iPad 2 Photographs?

    I just purchased an iPad 2 64Gb.  I want to add photographs to my iPad.  I want the photographs to completely fill the screen but still be small enough to use the minimum amount of memory space.  A smaller image size will also make them more responsive when navigating between images.
    Does anyone know the image pixel dimensions that I should use to have the photographs  completely fill the iPad screen?  I am assuming a resolution of 72 pixels per inch is sufficient because the screen is essentially a video screen.
    Thanks!
    Bill

    1024-by-768 is the size of the screen.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Site that automatically resizes images based on browser size

    Hi. I need to make a site that automatically adjusts the size of the images based on the browser size, but keeps the image quality. Does anyone know how to do this without using flash?
    I basically want the site to perform like [http://www.shotview.com/|http://www.shotview.com/] . Thanks for your help.

    first time accessing website get screen size info using javascript and then redirect to next page and store screen size info into session. then, when requesting pictures from browser use custom servlet, mapped to image extension, that renders images to different resolution.

  • Using Javascript & Actions to resize an image and add the filename as text

    Hello,
    I am currently working on a way to take an image, resize it and add exactly what is in it's file name (before extension) as a text layer. I have succeded in this BUT am having issues with file names that require more than one line of text.
    I need the text to align to the bottom of the image & the script or action must then resize the image so that the text does not overlap.
    Any ideas on how this can be done?
    At the moment I am using:
    -"Fit Image.jsx" to resize my image to a specific size (This was included in the Photoshop CS5 scripts)
    - A script to add the file name without extension and place the file name at a specific position.
    AdFileName.jsx
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PIXELS;
    try
      var docRef = activeDocument;
      // Now create a text layer at the front
      var myLayerRef = docRef.artLayers.add();
      myLayerRef.kind = LayerKind.TEXT;
      myLayerRef.name = "Filename";
      var myTextRef = myLayerRef.textItem;
      // strip the extension off
      var fileNameNoExtension = docRef.name;
      fileNameNoExtension = fileNameNoExtension.split( "." );
      if ( fileNameNoExtension.length > 1 ) {
       fileNameNoExtension.length--;
      fileNameNoExtension = fileNameNoExtension.join(".");
      myTextRef.contents = fileNameNoExtension;
      // off set the text to be in the middle
      myTextRef.position = new Array( docRef.width / 2, docRef.height / 2 );
      myTextRef.size = 12;
            myTextRef.font="Arial-BoldMT"
            //set position of text
            myTextRef.justification = Justification.CENTER;
            myTextRef.kind = TextType.PARAGRAPHTEXT;
            myTextRef.width= docRef.width;
            myTextRef.height= docRef.height/ 2;
            myTextRef.position= [0, docRef.height * 0.88];
    catch( e )
      // An error occurred. Restore ruler units, then propagate the error back
      // to the user
      preferences.rulerUnits = originalRulerUnits;
      throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );
    Can the position be changed to allow more rows of text but keep it aligned with the bottom of the layer?
    How can I script in a way to make the image resize based on the amount of text lines?
    Any help would be greatly appreciated.

    You can add a text layer any where the only thing you need to worry about is the size of the font you use.  You can normally calculate a font size by saving the images resoltuion and then setting its resolution to 72 DPI calculate a font size basied of the images pixel width and the number of characters you want in a line. After adding the text layer you can restore the image to its original resolution and align the text layer by making a selection and alignint the text layer to the selection.  There are nine posibilites like the positions in the selection you can align to like a tick tack toe board. You need to use a script to add the text layer because your retrieving the filename.  The positioning of the text layer could be done easily in an action the would use the scriot to add a text layer the do a select all  the align the added text layer to the selection.
    About your script don't make text paragraph just add new line characters to make a multi line text layer So it can be positioned easily
    I do just that with my stampexif action.  The action uses my stampexif Photoshop java script to add a multi line text layer containing some formatted EXIF data then the action centers the text layer and add a layer style to it. Link http://www.mouseprints.net/old/dpr/StampExif.jsx Example

  • Is there any way to batch change resolution, but not pixel dimensions?

    I was changing the resolution of my digital photos from 180 to 300 ppi individually as I edited them, but sometimes I would forget. Since I need the higher resolution for printing, I decided to automate that step by using PSE's "Process Multiple Files" feature. I noted that the Resolution selection was grayed out until I checkmarked "Resize Images." Since I didn't want to change the number of pixels, I left those fields blank.
    When I started the automated processing I noticed it was terribly slow, so I cancelled it and looked at the resulting files. They had more than doubled in file size because PSE was nearly doubling the Pixel Dimensions! I don't want to try a work-around by "resizing" to the current pixel dimensions, because the processing still takes about 45 seconds per file, and if I've cropped the photos, the pixel dimensions vary. Is there an automated way to change only the resolution in PSE . . . quickly?
    Also, I really wanted to double the resolution from 180 ppi to 360 ppi, but PSE limits my choices to either 600 or 300 or less. I've read about Scripts, but I don't think PSE supports them. I have version 6.
    Thanks for some help.

    Thanks for your input, and you may be right, but I'm not sure. I'm still trying to figure this out. I know it's the same photo on my monitor, but I keep reading that print resolution (ppi) is different from pixel resolution (i.e. 2000x3000.) This is my situation-- I'm sending the photos to a publisher for printing in a book. The publisher did not specify a size in inches--in fact I think the photos will be different sizes when printed on the page. They told me to send the photos in at 1600x1200 pixels. I've heard that 300 ppi is the standard resolution for publishing, so to get decent quality printing of my photos I thought I should increase the resolution from 180 to 300. But thinking about the different sizes, it seems that the resolution (ppi) will change depending on the size the photo is actually printed. At 300 ppi, a 1600x1200 photo will be printed at size 5.333" X 4". If a photo is printed full bleed on the cover of the book that is 8" x 10.667", then it will be 150 ppi. So, I guess you are right that I don't need to worry about the ppi resolution for the book photos.
    Now, let me figure about what I need to print my own 4x6 photos. My digital camera was set to 16x9 jpg, so my workflow is to make PNG copies to work with and after editing, save them in the 16x9 format before cropping at 1600x1200 pixels, then sharpening before doing Save As jpg in Book folder. I was thinking I needed to change the resolution to 300 ppi when saving in the 16x9 format so if I want to later make 4x6 prints, I'll have good quality prints. But you have made me think a little harder--what I do is choose the 4x6 crop tool which takes care of whatever ppi resolution is needed for that size print. Oh good, you have saved me extra work. Thanks!
    (BTW, I choose the 16x9 format because I was planning to use the photos in a widescreen slideshow, but my husband wanted something he could hold in his hand--hence, the book . . . and a lot of cropping!)

Maybe you are looking for