I need to measure the area in a JPEG

My JPEG is 600 x 600 dpi.
It includes a ruler and a cross section of a part,  The background is black.  The surface I am concered with border on the black background; it is the "white" outline of the part.  I need to find the "AREA" of this collection of "WHITE" color.Like the shell of a 2D egg.
How do I do this?
It would be great to configure the SCALE reference for the picture, drag a "SELECTION" box over the area, use a "EYE DROPPER" selection tool to click on the white of the outline, and click on "MEASURE" as in Photoshop.
It didn't work in Photoshop and I'm asking if Illustrator can calculate the area?
What steps are involved?
Is it aslo possible to measure Max Width and Max Height?
What Adobe product would work?
Thank you

cadsvc,
You may try this way (depending on version), working in points/pixels:
1) Place a copy of the image in a new document;
2) Filter/Effect>Colors>Inverse to turn the desired area black;
3) Click the border of the area with the Live/Auto Trace Tool, and Select the resulting area (with the black arrow);
4) If the area has undesired holes in it, Object>Compound Path>Release and delete the paths of the former holes;
5) See the W and H values in the Transform panel/palette;
6) See the area in the Info panel or use the free Telegraphics Pathearea filter, see below.
http://www.telegraphics.com.au/sw/
Edit: Seemingly, the Telegraphics website no longer shows it, but you can find it under Graffix Path Area here:
http://dzineblog.com/2010/09/10-popular-free-plugins-and-shareware-for-adobe-illustrator.h tml

Similar Messages

  • I need to measure the frequency of a signal on Pin 39 (PFI 15) of a PXIe-6361 module.

    I need to measure the frequency of a signal on pin 39 (PFI 15) of a PXIe-6361 module.  All of the digital I/O pins are already assigned and in use.  The signal frequency range is 50KHz to 500KHz.  I have tried all of the sample programs for DAQmx Counter/Timer frequency measurement.  If I modify them to use my hardware, I get run-time errors with conflicts with resources already assigned.

    Hi Julia,
    Thanks for the response.  As I stated before, I have tried all of the examples available that apply.  There are only three and one of those uses two counters.  The two I have tried are:
      Examples/Hardware Input and Output/Counter Measurements/Digital Frequency/
          DigFreq-Buff-Cont-ExtClk-ArmStart.prj     and
          DigFreq-LowFreq1Ctr.prj
    These examples default to using what appears to be traditional DAQ hardware (Dev1/ctr0 and /Dev1/PFI0).  I changed the counter to mine (/PXI1Slot3/ctr3) and directed my signal source (PFI15 on pin 39) to the counter.  No matter what I tried would not run.  They would always compile but gave run-time errors ranging from resources already in use to “external trigger required”.  I have no external trigger source and, if I did, there is no indication of how to assign it to the counter.  NI has a very good X Series Users Manual that tells all of the great things you can do with the hardware, but there is NO CLUE how to do any of those things!!!!  I know that some NI DAQmx functions use hardware resources that they never tell you about.  I discovered that when trying to produce a single output pulse from a timer using counter #0.  (Which, by the way, no one at NI could tell me how to do it.)
    Measuring frequency should be very simple.  The unknown signal is routed through a precise gate to a counter, and then the counter is read.  NI DAQmx uses the opposite approach of using my signal as the gate and counting their internal source.  However, the examples would not let me use the internal reference sources.
    To answer your other questions, I am not performing any other measurements at the same time and the counter is not being used for anything else, period.
    Any help would be greatly appreciated.  Thanks again.
    Wayne K.

  • [svn:fx-trunk] 8531: If using an embedded font, need to measure the text with it so that if auto-sizing, the correct amount of space is allocated.

    Revision: 8531
    Author:   [email protected]
    Date:     2009-07-13 12:25:57 -0700 (Mon, 13 Jul 2009)
    Log Message:
    If using an embedded font, need to measure the text with it so that if auto-sizing, the correct amount of space is allocated.
    QA Notes:
    Doc Notes: SDK-22205.
    Reviewers: will be Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22205
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

    Revision: 8531
    Author:   [email protected]
    Date:     2009-07-13 12:25:57 -0700 (Mon, 13 Jul 2009)
    Log Message:
    If using an embedded font, need to measure the text with it so that if auto-sizing, the correct amount of space is allocated.
    QA Notes:
    Doc Notes: SDK-22205.
    Reviewers: will be Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22205
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

  • Need to calculate the area of a vector shape in Illustrator CS6

    Hi All,
    I need to calculate the area of vector graphics we are designing for a vinyl window sticker. I've read a couple of previous threads, and all the solutions provided either don't work (using cmd, option, shift F12 to open debugging menu to get area), or are beyond my level of experience (doing a build of the Telegraphics Path Area Filter). Does anyone have any solutions, or know how to access the debugging menu/window other than using cmd, shift, option F12....I couldn't even find it in the Shortcut Keys preferences).  Thanks!

    Jacob
    It worked very well - great stuff!. I am a physician and I am working on cardiac MRI.. such as calculating the heart function using slices of heart images in systole and diastole (when the heart is squeezed or full of blood).
    .. we can write a little medical paper comparing really pricey software (GE, Siemens, Medis you name it..) with this method for people with not too many pennies in their pocket. The advantage of using Illustrator is that you can blow up the images up to the point of loosing resolution, and trace the margins of the heart with an accuracy that would make any GE guy cry for his mama..
    I thought even a cm further.. for simple-minded people (such as physicians for example) one would like a way to input the area of one slice directly into an equation. For example would be a way to create a routine that would take the number of the area of one slice and input it in this equation? Such as to create a little square where you put the slice, you trace it and then the program takes that number and pitches it in the equation without you writing it down on a paper.
    thanks again!
    Avi

  • Regarding Need to measure the rotation count of the Compass either by clockwise and anti clock wise from 0 to 360 degree

    Dear All,
    Since I am new bee for labview, I want to count the no. of rotations that the compass will be rotating. I just did for one count, but I need to measure the count continuosly. Please some one to help me as soon as possible. Attached is me code. Please do the needful.
    Thanks and Regards,
    Dinsulpri
    Attachments:
    Compass Count.vi ‏10 KB

    The event structure reads the value and, depending on its last state and current state, makes a decision.  You should try to look at the logic in the different states and follow what it happening.
    Example -
    1> Start at low state and 10 degrees
    2> Control moves to 30 degrees.  Old state = low. New state = low (no change in count)
    3> Control moves to 15 degrees.  Old state = low. New state = low (no change in count)
    4> Control moves to 100 degrees.  Old state = low.  New state = medium (no change in count)
    4> Control moves to 330 degrees.  Old state = medium.  New state = high (no change in count)
    5> Control moves to 20 degrees.  Old state = high.  New state = low (going straight from high to low means we made a positive rotation. Increase count by 1)
    The limits determine the zones of the low, medium, and high states.  While the values I choose to use were arbitrary, you would not want to set them too low (or high) to minimize errors.  Try it yourself.  Set the low limit to 2 and high limit to 358 (this would make the medium zone from 3 -> 357).  If you were quick (or the mouse jumped) it might be possible to move from 356 degrees (medium zone) to 4 degrees (also medium zone).  So if set improperly you could complete a rotation but not know you changed zones.
    On retrospect though the best values would likely be in thirds (I.E., 120 and 240) to make the zones even?  I did not do too much testing.

  • Test equipment needed to measure the RF power from an Aironet 1500 AP

    Is there a piece of test equipment I can use to measure the RF Power from an Aironet 1500 AP? I need to determine if people in a building are working far enough away from an existing Aironet 1500 AP unit. Many thanks,  Chris.

    Fluke Network's Airmagnet Spectrum Analyzer is second to none.
    For freebies:  Netstumbler and inSSIDer.

  • Measuring the area under a torque waveform produced by a rotating shaft.

    I am measuring a torque waveform that a shaft produces as it spins up to speed. I am using the waveform vi's in Labview to calculate the total time of the waveform. Is there an easy way to calculate the area under the waveform? The hope is that we wil be able to figure out the amount of work done.

    Here is a VI that should do the trick. It is a basic integral of your waveform.
    Christian L
    NI Consulting Services
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
    Attachments:
    waveformpicture.vi ‏80 KB

  • Need to measure the head count of each organization

    i need to find out the head count of employees for each organization based on salaried direct employees and salaried indirect employees as below
    my output must be like this
    in 1st column org unit name, 2nd column salaried fultime direct , 3rd column salaried indirect 4th colum is total as shown below
    orgunit | sal-fulltime direct | sal-fultime indirect | total | hourly-fultime direct | hourly-fultime indirect | total
    B& w__| 7000 __________| 5000 __________ | 12000 | 1500 ___________ | 500 ________________| 2000
    jray ___| 2000__________| 1000____________| 3000_ | 500_____________| 500_______________| 1000
    _______| 9000 __________| 6000____________|15000 | 2000 _____________| 1000 _______________| 3000
    under organization unit organization names must come and for employee count must be as above
    organization unit we get from pa0001
    salaried fultime , hourly fultime we get from pa0001-persk
    based on these conditions i need to get the out put as show above
    please give me an idea how to make it with sample code
    very urgent
    regards
    sachin

    The event structure reads the value and, depending on its last state and current state, makes a decision.  You should try to look at the logic in the different states and follow what it happening.
    Example -
    1> Start at low state and 10 degrees
    2> Control moves to 30 degrees.  Old state = low. New state = low (no change in count)
    3> Control moves to 15 degrees.  Old state = low. New state = low (no change in count)
    4> Control moves to 100 degrees.  Old state = low.  New state = medium (no change in count)
    4> Control moves to 330 degrees.  Old state = medium.  New state = high (no change in count)
    5> Control moves to 20 degrees.  Old state = high.  New state = low (going straight from high to low means we made a positive rotation. Increase count by 1)
    The limits determine the zones of the low, medium, and high states.  While the values I choose to use were arbitrary, you would not want to set them too low (or high) to minimize errors.  Try it yourself.  Set the low limit to 2 and high limit to 358 (this would make the medium zone from 3 -> 357).  If you were quick (or the mouse jumped) it might be possible to move from 356 degrees (medium zone) to 4 degrees (also medium zone).  So if set improperly you could complete a rotation but not know you changed zones.
    On retrospect though the best values would likely be in thirds (I.E., 120 and 240) to make the zones even?  I did not do too much testing.

  • I need to measure the movement of flat steel and make correction xy after clamp

    We are correcting for clamp movement on a robot arm.  I was looking at vision system with a servo xy correcion.  The robot shifts about .005 in randomly on a clamp before drilling and I need to find an xy plate and vision to look at a steel or titanium surface and mark the change. 

    alesper,
    Thank you for you post - firstly, there are numerous vision component options as far as cameras, frame grabbers, lenses, etc. National Instruments offers these components, mainly the frame grabbers but we do sales a few different types of cameras, lenses, lighting...
    As far as the motion part of your system, we also provide components needed to control, drive and interface with your motors.
    I can give you more of a detailed hardware/software recommendation if you like - but I need
    more detailed information on what you are interested in doing.
    If you are interested in a turnkey solution I suggest you contact one of our Alliance Members http://www.ni.com/alliance/:
    "Whether you are looking for assistance in completing a small
    integration project, require in-depth expertise in building a large
    multifaceted system or solution, or want to find a turnkey solution,
    National Instruments Alliance Partners have the resources and know-how
    to provide what you need in every region and every industry."
    --Michelle
    Instrument Control R&D
    National Instruments
    Instrument Control
    Machine Vision

  • How do you measure the change in area of an irregular shape?

    Hello everyone,
    This irregular shape is previously unspecified (other than the fact that it is white on a black background). Changes in the area would cause a motor to either speed up (increase) or slow down (decrease).
    I'm completely new to Labview and I'm still trying to figure out the jists of it. I have been playing around with the vision assistant. Any help would be appreaciated.
    Thanks.

    Just create a binary image using automatic thresholding (or fixed threshold if it is a constant), then use particle measurement to measure the area of the particle.  If it returns multiple particles, you probably want the largest one.  You might have to clean up the binary image by removing edge particles, etc. before using particle measurement.
    You should be able to measure the area several times a second easily, possibly at the frame rate of the camera.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How to measure the phase of a sinusoidal signal?

    I need to measure the frequency and the phase of a sinusoidal signal. I tried to use the Advanced Single Tone Measurements.vi but the phase measured in each iteration (each second) keeps changing (the measured frequency is not in integral Hz, so the first point of the next iteration is at a location different from the location of the first point of the current iteration...I guess this is the reason). How can really measure the phase of a signal (not always changing with time)? When I change the phase of the input sinusoidal signal, the measured phase should be changed though.
    I'm using LabVIEW 7.1 and PCI-6110.
    Thank you very much!
    Marlon

    Marlon,
    Without DAQ hardware I cannot run your VI. DAQmx is not supported on my platform (Mac OS X), so I cannot examine your VI in detail.
    1. The AI VI will wait until it has the amount of data specified. So if you are collecting one second's worth of data at a time, it will wait one second before completing. The 50 ms Wait will run in parallel, so it has no effect on the timing in this case.
    2. Continuous AO is possible, depending on the hardware you have. However, I have no experience with implementing it. Since your frequency is such that you do not end the AO data segment at the end of a signal cycle, you need to be careful to avoid discontinuities in the signal sent to the AO.
    3. There is no data dependency between the AI and the AO. It is possible that the AO could run after the AI in any given iteration of the loop.
    4. Your phase reference should be the excitation signal. The best method of evaluating the response of the beam would be to use two sensors, one at the shaker and one at the tip. Then measure the phase shift of the signal at the tip with respect to the shaker signal. If two sensors cannot be used, either measure the voltage sent to the shaker or use the simulated signal that you send to the AO as the reference. In either case you would need to compensate for the response of the shaker.
    5. Consider the phase shift in the filter. The steady state phase shift is about 14 degrees. The initial transient lasts about 5 cycles of the input waveform.
    6. Your simulation sampling rate is 1000 samples/second. While this satisfies the Nyquist criterion for a 379 Hz signal, it does not give you much data to work with for the phase information. If the hardware will handle it, I would go to 10000 samples/second.
    Lynn

  • How to measure the rotational speed by using rotary encoder and 1 counter?

    I want to measure the rotational speed of a shaft, and I have below hardware:
    1, a rotary encoder, with A,B,Z signals output;
    2, PCI-E6363 card.
    I do konw how to use such a  encoder to measure the rotational angle by using the function "DAQmxCreateCIAngEncoderChan", but this time I need to measure the speed(rpm), as well as the dirction of the speed, which means a negative speed represent a CCW rotate direction.
    More detail informations:
    for the encoder, the A,B signal is 600ppr, and Z signal is 1ppr
    the rotatinal speed is in range: -300 ~ 5000 rpm.
    some one suggested me that I can use the "DAQmxCreateCIAngEncoderChan" task to measure the angle firstly and then do the differential analysis with the angle. but I have to enable the Z index function, and it's hard to calculate when the shaft speed is fast then 2500rpm.
    Anyone can help me on this issue?
    Thanks in advance!

    RobertoBozzolo:
    Thansk for your reply. You are right that measure frequency to get the speed is the best way, but it's hard to get the dirction at the same time. You suggest me that "perform two angle measurements to get the sense of rotation", but I'm not sure I catched what you mean about this. I try to understand your opinion like this: distribute the signals to 2 counters, and start 2 tasks, one for frequency, the other for angle which used for deciding the dirction?
    And by the way, in my application, the counter is limited:
    I'm using PCI-E6363, which have 4 counters totally, and I have to measure 4 different speed sensors at the same time, so that means only 1 counter for me to measure the speed and the dirction.
    RobertoBozzolo 已写:
    To measure the speed from the encoder you can simply follow some of the frequency measurement examples that ship with DAQmx, considering that speed (rpm) is given by frequency (Hz) on one encoder output / 600 (ppr) * 60 (s->min)  = frequency / 10.
    Difficult is to add a sign to this measurement: frequency measurement gives you no information about sense of rotation, so I suppose you could perform two angle measurements to get the sense of rotation and then get the speed as above.

  • How do I measure the period of one TTL signal and the delay until a second TTL signal?

    Hi,
    I have a PCI 6024E board, the SCB-68 terminal box and am running LabView 6.1.  If needed I could install 7.1.
    I have two Honeywell sensors (HOA7720) which each consist of an infrared transmitter and a infrared reciever.  When the beam is broken they output 5V, when the beam is open it outputs 0V.  These are sensing the presence of a hole in two discs passing thru the sensors.  
    So as disc 1 rotates the signal is 5V until the hole passes thru sensor 1, then it drops to 0V until the hole passes.  Then it jumps back to 5 V. 
    Disc 2 is rotating at exactly the same RPM as disc 1 because they are coupled with a spring loaded coupling.  There is a delay between the first hole passing thru sensor 1 and the second hole passing thru sensor 2.  The delay increases with torque. 
    Using the oscilliscope function and connecting Signal1 and Signal2 to AIn0 and AIn1, I have verified that the TTL signals are there.  So electrically everything is working.  I just need to know how to measure the period and delay.  I'm familiar with A/D, but not with counters/gates etc and I think that's what is required here. 
    The first measurement needed is RPM.   Somehow I need to measure the period of the TTL signal. 
    The second measurement needed is the delay between the 1st falling edge and the 2nd falling edge.  
    I don't think it's possible to use the millisecond timer for anything, because the accuracy wouldn't be good enough.  At 3600RPM the disc will spin 60 revs per second, or one every 17ms.  A resolution of 17 samples per revolution is not good enough.    
    Help please!

    It worked!
    I ended up figuring it out today.  It's really simple.  I went analog in to AIn14 and AIn15 which were free. Then the program does a multichannel scan of the signals (collects array of 2 waveforms), Signal 1 and Signal 2 at some scan rate.  I used 100,000 S/s for 10,000 samples. Then I split the array into two separate waveforms.  Then I did an edge detect on each one and it returns the position in the array where the falling edge occurs.  The difference is the delay (after correcting for the scan rate), unless Sig2 comes first in which case the delay is the period - (or +) the difference
    To find the period I used a subset of the Signal 1 waveform from the first falling edge on to the end of the waveform, then did the same edge detect except set the reset setting to true instead of false so it wouldn't detect the low signal which was now at the position 0 in the waveform.  So it would ignore the initial low value, wait for it to go high, then detect the falling edge position.
    Anyway, it works awesome, seems very accurate and gives very stable readings.  3600rpm no problem.  It detects changes of one or two degrees in angular position, with a range from ~145 degrees to ~280 degrees

  • How to measure the performance

    Hi all,
    I would like to compare the performance of my Webdynpros in different machine. I need to measure the time of execution of my Web dynpro, including execution of some interaction from the user (navigation between the pages, etc). How can I do it? I cannot add any additional code, are there any transaction to measure it?
    Thanks a lot,
    Anna

    Thank you.
    I opened this transaction, but I could see only Transaction, Program or Function module to introduce and analyze. How can I measure Webdynpro?
    Regards,
    Anna

  • How could I measure the excution time of the VI

    hiii
    I need to measure the execution time or the elapsed time of the prog in LabVIEW , I know that this time is very small but I need to calculate how much it is?
    are there a suitable vi to do this in lib of LabVIEW or we must build it?

    There is an integrated tool, the VI profiler, Darren presents it here.
    You can also find usefull info if you go on the LabVIEW community and search for "VI profiler" or "performance", you'll find all sorts of articles, blogs that can help you : https://decibel.ni.com/content/search.jspa?peopleEnabled=true&userID=&containerType=&container=&spot...
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Maybe you are looking for

  • Bridge CS4 not using newly installed Enhanced Image Processing Photoshop script

    Hi all, Hope someone can help here.  We just added this Photoshop extention:  Enhanced Image Processor by Manovi to our Photoshop CS4's Presets/Scripts folder.  Here's my problem.  The new image processor opens and runs great - in Photoshop.  But whe

  • MBP was hacked? Help for a Newbie.

    Hi everyone. I think my WEP was cracked and my MBP was hacked. WEP was cracked because the lock is gone. Tried to restart, sorry don't have access to router to restart that or confirm connections on that hardware. Connecting to MBP via airport. Have

  • Data Integration differences between 9.4 and 10 ATG's releases

    Hi, all. By browsing 9.4 documentation (http://docs.oracle.com/cd/E26180_01/index.html - ATG Programming Guide) I have found Appendix B: ATG Commerce Database, which lists all database tables. By browsing same "ATG Programming Guide" on version 10, t

  • Deleting Old Software

    I have an 800Mhz flat panel iMac, 1 GB RAM. For many reasons--mainly the fact I haven't installed a "ton" of programs on my computer--I am still using 10.2.8. My plan is to soon upgrade to 10.4. I can wait 'til 10.5 is "stable." My first goal, is to

  • RAC enabled database binaries vs non-RAC enabled binaries

    We have a 5 node cluster in which we will be installing Oracle database binaries onto and creating Oracle databases on, some of which will be standalone and most of which will be RAC enabled. Is there a difference in 10g RDBMS binaries that are "clus