3d picture pixel coordinate​s

Hi,
I have a problem I can't figure out on my own. Maybe its not even possible.
I want to import a 3D file (e.g. VRML) and read out the coordinates of each pixel. I just found tools to handle the image but not to get information out of the image.
Maybe it is not possible the way I try to do it right now. What I want is a program that can read a 3D file and gives me a transmission image of it. (like if I get an transmission electron microscopy image of an object)
This is to compare a theoretical transmission of an object to the real one.
I hope you understand what I am trying to say.
regards

Hi Raphi,
sorry for my late reply. Thank you for the example, I hope it wasn't a lot of work.
To get a 2d projection of just the surface isn't my problem. I could also do that with the program I created the 3D file in. What I need are transmission pictures of the object. English is not my native language and I think my explanation is not really exact. I will try to explain on an example.
What I want is a transmission picture of e.g. two cylinders. In the 2D view you will see them crossing in one point. In the transmission images this crossing point would have a higher intensity than the others because there are two cylinders. If one of the cylinders would be filled and the other would be hollow the they would look the same in a 2d projection picture but they would look different in a 2d transmission picture. I hope you understand that I mean.
I want to load a 3d object and then integrate layer for layer of the object to get one transmission picture. This is to simulate how a object would look in a transmission electron microscope.
regards,
T

Similar Messages

  • When i paint either black or white on layer mask it erases picture pixels also path selection tool does not work

    when I paint either in black or white on layer mask it erases picture pixels also path tool does not work

    I would try resetting your preference file first:  http://www.lightroomforums.net/showthread.php?14226-Resetting-(or-Trashing-)-the-Lightroom -Preferences-file
    Also, install the latest version 4.4.1 would probably be a good idea.

  • XY pixel coordinate to map coordinate!

    Hi,
    I don't know if anyone is able to help me or direct me in the right path.
    My situation is as follows:
    I'm writing an web-app to generate a map (which I am successfully doing). I display the map (GIF) on the browser.
    Now, what I would like is to be able to click on a point on the map, take the X Y pixel coordinate and convert that to a mapping coordinate so I can requery the server and generate a new map.
    Now, in terms of mapping coordinates,
    how would one convert XY pixel to LAT LON?
    how would one convert XY pixel to Mercator?
    how would one convert XY pixel to GeoMinSec?
    hou would one convert XY pixel to GeoDecimal?
    Now, I don't mind if can get an answer to one of either of those questions, but my ideal answer would be on how to convert XY pixel to GeoDecimal because unfortunately the server I am using has all of its map coordinates in GeoDecimal.
    Any help would be appreciated.
    Steve.

    i think this is the solution.... but i might be missing something, i am assuming that your x,y location of your mouse increases positivly as you move your mouse right and down from the top left of your image. you may need to adjust accoringly. also, i have a feeling i am missing something to do with the dpi of your image... but i guess this may be a start...
    so you know your x,y in pixels. you know the extent of your map in real world co-ordinates.
    so lets say the width of your map is 1000m and the pixel width is 500pixels.
    so each pixel is 0.5 real world metres.
    multiply your x and y co-ordinates by 0.5, that is how many meters in from the top left of your extent your mouse is.
    more generally:
    so your extent is (x1,y1 is bottom left, x2,y2 is top right):
    x1,y1;x2,y,2
    your mouse co-ordinates are :
    x,y (pixels in from top left)
    your map is w1 pixels wide.
    dx = x2 - x1
    pixelsPerMetre = w1/dx
    world coordinates of x,y are:
    x1 + (x * pixelsPerMetre), y2 + (x * pixelsPerMetre)

  • Pixel coordinate vs character co-ordinates

    Hi,
    I have JTextArea where I highlight some text using highlighter and when next line is entered i de-highlight the text but I remember the co-ordinates of highlighted text.I am keeping linenumber of text and co-ordinates.When user brings the mouse over the text I want it to be highlighted again. So I have implemented MouseMotionListern and mouseMoved method but MouseEvent return the co-ordinats in pixel while earlier co-ordinates were character-wise so I am not able to determine the line number using pixel co-ordinates. can someone suggest how to determine linenumber using pixel co-ordinates or some other way to solve the above problem ?
    Ajay

    In the JTextComponent API, it lists two methods for converting between pixel coordinates and text locations.
    The capability of determining the location of text in the view is provided. There are two methods, modelToView(int) and viewToModel(java.awt.Point) for determining this information.

  • Pixel coordinates

    Hi
    I have a map as an image in a web page that I want to have a information tool to. When clicking on a point I want to search for that point in the database.
    In order to do my search I need to pick up the coordinate that the user click on. When clicking on the map image this is pixel coordinates which are converted to geometry coordinates on the server. My question is how to write a web form that adds the pixel coordinates in the request when the user clicks on the map?
    Thanks
    Fredrik

    Your pixel-map need some spatial reference, otherwise it won't work. If you want a nice demo on how to build a clickable map, try this:
    http://www.oracle.com/technology/sample_code/products/mapviewer/files/oow2006hol_geotag.zip

  • Pixel coordinate​s along a ROI (line)

    Hi
    Problem: Calculating distance using "distance formula" for all the pixel points along a line on an image.
    I am grabbing images using a camera and then using "ROI line.vi" , to define a line as region of interest.For that I have to provide,initial and final coordinates of the line (pixels) , then I use ROI transform.vi to rotate this line about a point which is one of the ends of the line.This way I get a new line (ROI) and using "ROI to line" I get the pixel coordinates of two ends for the rotated line.
    Now I want to get the distance between two points on a line and for that I need the pixel cooridinates for the whole line.Does someone know how to get this ? or is there any better way of doing this?
    And yah I am using 100 pixels = 34.29 mm to convert pixel distance into mm.Is it correct ?
    Is it possible to switch on and off a bulb/electrical appliance using lab view ? Just want to try this out for fun ....
    Thanks a lot !
    Deepak
    LAB View 2010 SP1

    Hey Deepak,
    To answer your questions, I am assuming that you have the Vision Development Module installed, especially if you are using some of the Vision functions already (that you mentioned). Now, what I understand of what you are trying to do, it sounds like you already have the two endpoints of the line, and you want to get the pixel points in between to be able to make measurements on those. So if you already have the two end points of the line, then I would recommend you check out the following functions: IMAQ LineProfile.VI or IMAQ GetPixelLine.VI. The help documentation on these two will tell you more details about them, but basically you can get the values of the pixels on a line. Then once you have the other points and their values, you can do either use the IMAQ Caliper functions to measure distances on the line, or perform your own calculations using simple LabVIEW functions (like add, subtract, divide, etc.).
    You also mentioned something about converting pixel values to real world values. You can use the Calibration VI's in order to calibrate your image, and also use some of the other functions like IMAQ Convert Pixel to Real World.VI. If you don't want to use the Calibration functions, then you can perform your own conversion, again using simple LabVIEW functions.
    Last, for your question about switching on/off a light bulb or some other electrical appliance using LabVIEW, I would have to mention that LabVIEW can control electrical components, but usually with the help of some kind of hardware. Some hardware that I could think of would be some kind of electrical switch hooked up to a DAQ (data acquisition) board that can do either digital or analog output. Another option would be to use some 3rd party hardware and communicate with LabVIEW via some kind of protocol, such as serial, TCP/IP, modbus, Datasocket, etc. etc.There are numerous ways you can go about having LabVIEW control things via hardware.
    I hope these answers help. Please let me know if you need any clarification on anything. Thanks, and have a great day.
    Regards,
    DJ L.

  • Get pixel coordinates in image with mouseclick

    Hey there
    Im a beginner at labview, so i walked into a little problem.
    I want to know if there is a way to get pixel coordinates from an imagefile with a mouseclick in labview, this is to use the coordinates in order to calibrate the image without using the vision assistent.
    THx with regards
    jens dassen

    I'm not sure if this is something new with newer versions of LabVIEW, but I just solved this problem using a property node for the image indicator. See images below. Super easy!
    Cheers!
    James
    LabVIEW Professional 2014
    Attachments:
    Capture.PNG ‏8 KB
    Capture1.PNG ‏5 KB

  • Movieclip on Sub-pixel coordinates

    I have a long running question that I've never been able to find an answer for.
    When animating movieclips if they're not on whole pixel coordinates they will be blurry (if smoothing is turned on). I always have to adjust the coordinates to whole number values which is of course very tedious. Snap to pixel doesn't seem to solve the issue. If I'm useline timeline animation, I have to adjust both beginning and end frames
    Does anyone have any suggestions or fix for this?
    thanks!

    I've found that if you have ONLY "Snap Align" and "Snap to Pixel" checked in the View menu, you can get a stage object or a movieClip to align to an actual pixel. Moving that object in the same or subsequent keyframe also positions the object to a whole pixel. Do you see something different?  This is in Flash CC 2014.

  • Poor quality Video, picture pixelated using apple tv

    Hi, I can stream video like bbc iplayer using apple tv2, from my iPhone 3GS and my ipad2. Moving pictures ( video) tends to be very pixelated to fast the image the worse it is . Still photos are good and the sound is perfect.. Wifi is from BT with router hub 3   The picture quality is the same using wifi or Ethernet cable. Is my problem with the hub ? If so can you recommend a router that is comparable with BT and apple tv?

    Winston Churchill wrote:
    I've just carried out a few tests using iPlayer.
    I have a largish house and use a number of wifi base stations to compensate for both the distance and the fact that I often have quite a lot of network traffic.
    At first I found the quality of the video very good, but I then switched the networks the devices were using so that instead of using the nearest base station they were using the furthest one away, at which point I got pixelation too.
    That's useful info.
    Sounds as though Airplay does have rate adaptive video quality in this case?

  • Excel pictures pixelating

    Hello!
    I have a spreadsheet I use for quotations at work, with a JPG image, a logo. It's been a challenge to print it to PDF without the logo pixelating terribly. I overcame the issue with some custom print settings in Acrobat. Several people at work have started to use my spreadsheet, but they don't have the settings right (and/or don't have patience to bother with them), so I am looking for a fix for this.
    The problem does not happen when printing to a printer, so that's why I am looking at Acrobat for a solution, but the problem may turn out to be something with Excel. I have a lot of VBA programming in this spreadsheet, so my Plan B is to come up with some code to programmatically change the Acrobat print settings (so the user doesn't have to bother with them).
    I am using Acrobat 9 Pro and Windows 7 on my laptop. Acrobat X Pro and Windows 8 on my PC. The problem occurs in both.
    Here are the Acrobat print settings
    I would like to attach a sample spreadsheet but can not. I am attaching the logo here
    I have this in 600x208, 1200x417, and 4584x1593 resolutions (sized to the same proportions on the spreadsheet). I've tried resolutions of 300 all the way to 4000 in Excel's settings. 1200 seems to get the best results, with no noticeable improvements above that (although I know i have some downsampling occuring in the Acrobat settings).
    The logo is as crisp as you could want when you view it with a picture viewer, so I don't think the problem is the logo resolution being too low. As mentioned, Excel prints it to paper just fine.
    I feel like I've tried 1000 different combinations in both Excel and Acrobat, so I am just out of ideas and need some help!

    This tip "may" apply only if your using a Mac, or may be the same feature in Windows as well:
    when you open the Print menu:
    Set up your printer as you have.
    Second button from top is called Presets
    Click on Presets and scroll all the way down to save preset
    when window opens, in the Field give a Name.
    Next time you need to do this just choose the preset.

  • Draw line between black pixel : coordinates of selected pixels ?

    Hi
    I want to build a script which can check a Photoshop file and :
    - find black pixel
    - for each black pixel, look for another black pixel within maximum distance of 5 pixels
    - then draw a line between the two black pixels.
    I wrote this script below (my first script ...), but it's VERY slow (and my final image is VERY big), I think because I test the colour for each pixel of the image.
    So another solution would be to first select black pixel with magic wand, then the script save all coordinates of selected pixels, then my script wil test only this pixels (less than 1% of the pixels are black in my image).
    Is it possible with JavaScript ?
    Thank you for your response !
    Marc
    function main(){
    var startRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var myHeight = app.activeDocument.height;
    var myWidth = app.activeDocument.width;
    // Find black pixel
    for(var i=5; i<myWidth; i++) {
      for(var j=5; j<myHeight; j++) {
       activeDocument.colorSamplers.removeAll()
       var sampler = activeDocument.colorSamplers.add([new UnitValue (i, 'px'), new UnitValue (j, 'px')]);
       if (sampler.color.rgb.hexValue === "000000") {
    // For each black pixel, search another black pixel below left up to 5 pixels
        for (var m=i-5; m<i; m++) {
         for (var n=j+1; n<j+5; n++) {
          activeDocument.colorSamplers.removeAll()
          var test = activeDocument.colorSamplers.add([new UnitValue (m, 'px'), new UnitValue (n, 'px')]);
          if (test.color.rgb.hexValue === "000000") {
    // Then draw a black line between the two black pixels
           var FillColour = new SolidColor;
           FillColour.rgb.hexValue = '000000';
           var ad=activeDocument;
           ad.selection.select([[m,n],[i,j],[m,n+1],[i,j+1]], SelectionType.REPLACE, 0, true);
           ad.selection.fill(FillColour);
           ad.selection.deselect()
    // For each black pixel, search another black pixel below right up to 5 pixels
         for (var m=i+1; m<i+5; m++) {
          for (var n=j; n<j+5; n++) {
           activeDocument.colorSamplers.removeAll()
           var test = activeDocument.colorSamplers.add([new UnitValue (m, 'px'), new UnitValue (n, 'px')]);
           if (test.color.rgb.hexValue === "000000") {
    // Then draw a black line between the two black pixels
            var FillColour = new SolidColor;
            FillColour.rgb.hexValue = '000000';
            var ad=activeDocument;
            ad.selection.select([[i,j],[m,n],[m,n+1],[i,j+1]], SelectionType.REPLACE, 0, true);
            ad.selection.fill(FillColour);
            ad.selection.deselect()
    main();

    The first alert should have shown the first pathPoint.anchors for all the subPaths in the path.
    The xyArray is just something I added for the alerts. The array 'myPathInfo' should have all the info extracted from the path.
    myPathInfo.length will tell you how many subPaths are in the Path.
    myPathInfo[index].entireSubPath.length will tell you how many pathPoints are in that subPath
    myPathInfo[index].entireSubPath[index].anchor will tell you the position of that pathPoint.
    The indexes start with zero.
    The bounding box of the entire subPath can be hard to work out just from the pathPoints. Unless all the point are corner points the path may extend beyond the anchors. One think you can do is create a new path from just one of the subPaths, convert by to a selection, and then get the bounds from the selection. You can make a new path from a subPath using the 'myPathInfo' array from above.
    app.activeDocument.pathItems.add("myPath1", [myPathInfo[0]]);
    That line will make a new path from the first subPath. Change the index to use a different subPath.
    Some other info that may help.
    app.activeDocument.histogram[0] will tell you how may black pixels are in the document. But its no help determining where they are. If that returns 0 there are no black pixels.
    If you don't have any luck working with converting the original color range selection into a path and need to go back to searching with the colorSampler it may help to use a grid approach. For example make a square selection, the size depending on how scattered the black pixels are, say 25x25px. Then use color range to select black. With an active selection it will only select pixels in that selected area( if any). You could then check to see if there is a selection. If not make another same size square to the right edge of the last area. If there is a selection, the solid property will tell you if more than one black pixel was selected( unless they are right next to each other ). If solid == true the selection bounds will tell you where the pixel is. If false you have to then search that square. But if there are areas where there are no black pixels checking a square range of pixels at once should be quite a bit faster than checking every pixel. And checking the historgram first will let you know if you should bother searching to start with.

  • Pictures - pixelation

    Could anyone advise me on what picture format should I use?
    I've imported some jpeg pics into my project but when I drag them to my timeline the picture is not the same as the original one. It is actually a very bad copy of it. Any suggestions? Thanks.

    What are the pixel dimensions of your jpeg images?
    If they are smaller than the pixel dimensions of your video, than you will have to enlarge the jpeg to fill screen and you will lose quality from that enlargement.
    If the are substantially larger than the pixel dimensions of your sequence, you are reducing the amount of pixels in the image by shrinking it to fit and, at the same time are applying the codec of the timeline to the image. This can cause both shimmering, a pixellated appearance, and stair stepping along diagonal lines within the image.
    One way to make the image look better is to apply a slight blur to the image, say a Gaussian Blur of 1 or 2 pixels. This blurring will reduce the amount of data contained in the image, and will thereby reduce the amount of compression being applied.
    Hope this helps.

  • Why is text, icons and pictures pixelated on my retina macbook?

    I have a late 2012 retina macbook pro 15.4 inch. I have the nvidia 650m 1gb card. all mac icons and webpages look great except some icons, when I open a file and I am browsing for the icons for pictures, txt files or video are pixelated and of poor quality.
    Like if i use "open" on photoshop and I am browsing for photos it has every thumbnail and icon pixelated, and it does this everywhere, not just photoshop.
    Also in photo shop, text and signatures for my photography business are all pixelated even the actual picture until i zooom in.
    What is going on?

    If restarting your computer does not clear things up....
    Call AppleCare.  You are still under warranty.

  • Pixel coordinates for different size docs.

    I am makeing a pixel colorsample on a particular point in a document. The problem is when the picture demesions change the point where I am selecting from changes. I was wondering if anyone has an idea to handle the different sizes. Thanks.

    So I figured what my current measurements percentage was and included it in my calculations for my point. Thank you for your help.
    This is what I used.
    var w = app.activeDocument.width.as( 'px' );
    var h = app.activeDocument.height.as( 'px' );
    pw=w*0.405;
    ph=h*0.48125;

  • Still Pictures Pixelated in FCP

    I just finished a piece where I incorporated video footage and stills from a photographer. I exported the project out using DV/DVCPRO and for some reason the pictures became blurry and pixelated when I put the project on a DVD. All the pictures are clear when it is viewed on the internet.
    To make matters more confusion I put together another slide show in FCP just using JPEG Files (in fact some of the JPEG were used in both videos) and all the stills came out perfect. The second video I exported the project out in the same manner DV/DVCPRO.
    Why did this happen?
    What can I do to solve this problem in FCP?

    Hi -
    Are you scaling up the vertical images (479 x 639) to fill frame? If so you are enlarging them quite a bit, and anytime you enlarge an image, you will see the sharpness decrease.
    Couple this with your DV codec, which is at the bottom of acceptable imaging codecs to begin with, and your expectation may be exceeding what the combination of small source images and editing codec can supply.
    And, to add to the problem, jpegs can range from very high quality to very, very compressed images. If your original images are highly compressed jpegs, that may be adding to the problem.
    The best way to help with this problem would be to obtain higher quality source images - the same images in a large frame size. As you have already discovered you get much better results reducing a large image to fit the screen then enlarging a small image to fit the screen.
    If this in not possible, you just need to use your judgement as to how far you can enlarge the image before it starts to look objectionable.
    MtD

Maybe you are looking for

  • How do i delete photos in the uploads folder

    how do i delete photos in the uploads folder

  • How to create the above Fiscal period & Client Calender

    Hi All, I want to create Client Factory Calendar in BI System. Source is MS SQL DB(UD Connect) not ECC. I got the below information from the Business Group: For the moment we need to implement the Client Calendar. So periods should be according to Cl

  • Convert amount in no's to words

    hi sapiens,              I need a code or Fm to convert amount in numbers to words eg) 1500 --->  one thousand and five hundred

  • Extract Metadata from PDF as xmp file

    Hello! I have the following problem: I do always File->properties->additional metadata->advanced-> save as .xmp. How could I write this actions in Javascript?

  • Passing through a mouse click

    I have a canvas with backgroundAlpha=0 over some other components, so that I can use rollOver and rollOut to trigger some events. However, i can't get the mouse to work with the components underneath the tranparent canvas. Is there a way to pass the