Need help: represent edges/boundary of objects in RGB image?

Hi everybody
The edge detection has been used to detect the edges of objects.
Now I want to represent/show edges/boundary of objects in RGB image.
Thanks for any idea.
mySIti

Hey Dave -
If I add them to a container and simply removeChild the container, will that avoid any memory leaks/problems?
Wasn't sure if that was just an issue when eventListeners were involved.
Thanks

Similar Messages

  • I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    You mean an image such as a scanned document?
    If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
    You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat.

  • I need help Centering a div box to a background image using dreamweaver cs5.5.

    I need help Centering a div box to a background image using dreamweaver cs5.5. Everything shift left when viewing on different size monitors?  See what I mean at
    www.woodlandhospice.com

    Have you looked at your page with images disabled?
    I urge you to re-think this approach to web design because images of text are not indexed by search engines, screen readers or translators.  Given the demographic group your site is targeting, you really need to ensure maximum web accessibility for all users.
    Navigation, headings and descriptions all need to be in real text -- not images of text.
    Ken is right.  Absolute positioning is pure poison for such a simple layout.  My advice is to start over with one of the pre-built Starter Pages in DW.  Go to File > New > Blank page > HTML.  Select a layout from the 3rd column and hit CREATE button.
    Nancy O.

  • I need help trying to print ,move and resize multiple images on a page to print!help!

    can anyone give me to some advice. I was using an older version of photoshop elements where i could position the image i wanted to print on the page. I could resize it, move it around and add more photo's. I print small images that I cut out for jewelry making and need to be able to add 12 small images to a 4x6 print size page. My new elements is not allowing me to do that! I'm frustrated and need help!! thanks!

    It should work just the same as before: create a blank document, place your images on it, then print it. The only difference is that you can't change the position of the image in the print window anymore.

  • Need Help with Filling in Created Object

    I'm trying to fill in this object with a solid color I created just using the arc tool. However,  what happens when I use the default fill and stroke tool is that it fills in the shape of the arc rather than just inside the object
    Can someone help me figure out how to fill in just inside the object? I have CS6. Thanks

    dknovice,
    In addition to what Doug said, your screenshot says that you have two paths meeting in the middle. You can just select them and Ctrl/Cmd+J (I think). In earlier versions you needed to Direct Select one set of coinciding end Anchor points (the top or bottom set (dragging over only them after having deselected everything), and then you could (normal) select the whole path and Ctrl/Cmd+J to join the other set.

  • Need help w/ created classes and objects

    I am having a difficult time understanding what is wrong w/ my classes and objects. I've looked in two books and have messed around a bit. Here is what I am -attempting- to do.
    I want to make a class called CLOTHING. In this class i want objects such as shirt and pants (for now).
    these are the errors im getting:
    .\Shirt.java:6: invalid method declaration; return type required
         public Shirt(int size){
                   ^
    .\Shirt.java:3: class Clothing is public, should be declared in a file named Clothing.java
    public class Clothing {
           ^
    MyClassHW.java:10: cannot resolve symbol
    symbol  : constructor Shirt  (int,int)
    location: class Shirt
              myShirt = new Shirt(1,1);
                              ^
    3 errors------------------------------------------------------------
    This is the code for my Clothing class:
    import java.awt.*;
    public class Clothing {
         private int shirtSize;
         private void Shirt(Graphics s, int h, int v){
         Polygon shirts;
              shirts = new Polygon();
              shirts.addPoint(5+h,8+v); // 1
              shirts.addPoint(17+h,12+v); // 2
              shirts.addPoint(19+h,13+v); // 3
              shirts.addPoint(33+h,8+v); // 4
              shirts.addPoint(37+h,13+v); // 5
              shirts.addPoint(25+h,20+v); // 6
              shirts.addPoint(25+h,28+v); // 7
              shirts.addPoint(15+h,28+v); // 8
              shirts.addPoint(15+h,20+v); // 9
              shirts.addPoint(1+h,12+v); //10
              s.fillPolygon(shirts);
    }from what i understand each object is essentially a method...
    Here is the code for the java applet I'm making:
    import java.awt.event.*;
    import java.awt.*;
    import java.applet.*;
    public class MyClassHW extends Applet { // implements ActionListener, AdjustmentListener {
         Shirt myShirt;
         int size;
         public void init(){
              myShirt = new Shirt(1,1);
    // <applet code = "MyClassHW.class" height = 300 width=300> </applet>thank you for your time and help. as always, your efforts are appriciated.

    .\Shirt.java:6: invalid method declaration; return type required     public Shirt(int size){
    I guess, public Shirt(int size) is constructor in class shirt. You have one int in this constructor. Shirt(int size)
    Here you initialize your shirt with two int:
    MyClassHW.java:10: cannot resolve symbolsymbol : constructor Shirt (int,int)location: class Shirt          myShirt = new Shirt(1,1);
    Shirt(int size, int what?)
    It's why it show such message.
    But even if you fix it seems like you have very vague ideas about what you are doing.
    As far as I understood you need three classes.
    First applet Clothing:
    public class Clothing extends Applet{
    Shirt myShirt;
    Pants myPants;
    public void init() {
    myShirt = new Shirt(1); // small shirt
    myPants = new Pants(32, 40); // medium waist and long legs
    Second and third your classes Shirt and Pants:
    public class Shirt extends Object {
    int size;
    public Shirt(int s) {
    size = s;
    public int getSize () {
    return size;
    same for Pants, only you need two parameters for it or whatever you want.
    You could design it diffrently if you want derive your Shirts and Pants from Clothing and then to use them in your applet. But, indeeed, you desperately have to do some serious reading, where authors are accurate in they definitions and stuff, because it's kind of complicated.

  • Need help removing a bunch of objects added at runtime via a timer

    Hi.  After adding an image to the stage, turning it into a Movie clip, and setting linkage in library to Export for Actionscript, I'm now using a timer to add a bunch of roses to the stage as a video plays.
    How can I get rid of all these clips once the video is over?
    Do I need to add all of them into an extra container and then just removeChild that container at the end?
    Or do I need to use something like getNumberOfChildren and then create a loop that removes them one by one?
    The clips (myRose) are fairly small and do not have any event listeners added to them.  I just use TweenMax to move them from top to bottom of the screen.
    I've pasted my code below.
    Thanks for any suggestions.
    public function roseTimer():void
                MonsterDebugger.trace(this, "in roseTimer");
                myRoseTimer = new Timer(1200, 52);
                myRoseTimer.addEventListener(TimerEvent.TIMER, createRose);
                myRoseTimer.start();
    private function createRose(event:TimerEvent):void
                MonsterDebugger.trace(this, "test create rose see if stop blinking one");
                MonsterDebugger.trace(this, "in createRose");
                var myRose:rose = new rose();
                var startX:int = (stage.stageWidth/8) + (Math.round (Math.random() * (stage.stageWidth*.75) ) );
                var makeSubtract:int;
                //Math.random()>.5 ? makeSubtract = 1 : makeSubtract = -1; //shorthand if statement
                var endX:int = startX + Math.random()*100*makeSubtract;
                if (endX<100)
                    endX +=100;
                if (endX> stage.stageWidth -100)
                    endX -=100;
                //MonsterDebugger.trace(this, "makeSubtract = " + makeSubtract + " and startX = " + startX + " and endX = " + endX + " and stage.stageWidth = " + stage.stageWidth);
                //var myScale:Number = 1 + (Math.random()*.3*makeSubtract);
                var startY:int = Math.round(Math.random()*100);
                var endY:int = stage.stageHeight - Math.round(Math.random()*175);
                var startRotation = Math.random()*360;
                var endRotation = Math.random()*360;
                myRose.x = startX;
                myRose.y = startY - 150;
                //TweenMax.fromTo(myRose, 5, {scaleX: myScale, scaleY: myScale, x:startX, y:startY, alpha: .4, rotationZ:endRotation}, {scaleX: myScale, scaleY: myScale, x:endX, y:endY, alpha:.9, rotationZ:endRotation});
                TweenMax.fromTo(myRose, 5, {x:startX, y:startY, alpha: 0, rotationZ:startRotation}, {x:endX, y:endY-75, alpha:.9, rotationZ:endRotation});
                //myRose.visible = true;
                //Gaia.api.getDepthContainer(Gaia.TOP).addChild(myRose);
                addChild(myRose);

    Hey Dave -
    If I add them to a container and simply removeChild the container, will that avoid any memory leaks/problems?
    Wasn't sure if that was just an issue when eventListeners were involved.
    Thanks

  • Need Help representing data from a ResultSet

    Hi y'all,
    I have an SQL query which returns information from an Access database with time tabling information (class, day, start time, etc).
    I wish to display the information in table format:
    EG:_________________________________
    _____|MON_|_TUE_|_WED_|_THUR_|_FRI_|
    9.00 | | | | | |
    _____|____|_____|_____|______|_____|
    10.00| | | | | |
    _____|____|_____|_____|______|_____|
    11.00| | | | | |
    _____|____|_____|_____|______|_____|
    I dont know the best way to set about putting the data from the resultset into the table. Will this be very difficult?
    Many thanks in advance,
    John

       this is how i would create a jsp page.
       to output the results in an html table
       you can get the column names from the resultset
       as well to put into the <TH></TH> tags (resultsetmetadata)
    */<html>
    <body>
    <table>
    <tr>
    <th>SUN</TH>
    <th>MON</TH>
    <th>TUE</TH>
    <th>WED</TH>
    <th>THU</TH>
    <th>FRI</TH>
    <TH>SAT</TH>
    </tr>
    </table>
    <%
       int nCols= 5;
       String rws;
       while (rs.next()) {
          int i=0;
          rws+="<tr>"
          while (i++ < nCols) {
             rws="<td>"+ rs.getString(i)+"</td>";
          rws+="</tr>";
    %></body>
    </html>
       this is how i would code a jsp page.
       the connection crap is missing though
    */

  • Need help with info about the possibility of altering images when saved in a different format

    I am very new to the design world.  I have a printing business and received and image to be printed in Adobe Acrobat (I think).  I needed to resize the image to be printed and took it into Photoshop CS6 where I cropped the edges.  I then resave it as a PDF and took into a printer software, Fiery.  Fiery has an Impose function where you can repeat an image to layout it on the correct paper size.  It essentially just copies the original image several times depending on the layout.  This particular image I repeated to 3 up and 1 across.  When printed it came out with a magenta streak through the center image only.  I have had the machine checked and they are adamant it's not a printer issue but a software issue.  That once I altered the original image by resizing it that I altered the image and that I can't expect it to come out as seen on the screen.  I've printed it all sorts of different ways and it only occurs with the 3 up 1 across image.  I know that images can be changed when saved from program to program but this situation does not make sense that it is only the one area and layout that this shows up. I would appreciate any help, input, answers that anyone has.  Again, I'm new to this and would like to understand if this is a potential for further printing jobs so that I can do what I need to avoid this situation. 
    Thank you for your time.
    Jessica

    Jessica,
    Without knowing how the original graphic was created it is hard to tell you how to handle it. What is the name of the file? (Only the file suffix is important). If the file's origin was in a drawing program and/Or InDesign, then the document should be handled differently if the document is a raster image best handled by a program like Photoshop.

  • Need help changing size and aspect ratio for 500+ images

    Thank you for reading this! I have about 500 images of people in different poses. They're all extracted on a transparency as PNGs. They vary in aspect ratio, dimensions and position of the person within the frame - for some the feet are very close to the bottom of the frame and for some, they're higher up. I need to equalize all 3 of these qualities, so that if superimposed, they look like a video unfolding with the same zoom. My ideal size would be 800x800 at 300ppi.
    Is there a way to batch even a part of the process and keep the png format? I had the images in PSD initially but they were too massive so creating catalogs with them was prohibitive.
    If not possible to do a batch, what would be the best (easiest) and fastest way to do it? I'm thinking that maybe creating some template where an oval shape the size of the head can help create consistency of the size of the person and a line that helps set up the distance from the bottom?
    I so appreciate any help you have to offer. Part of my problem is that I don't know what these processes are called so I don't even know what to search for. If you can even name the actions that I need, it would be of great help. I already paid a designer to do the extraction and they were supposed to do this formatting as well and they didn't so my budget is shot. I'm hoping that if I understand what the steps are, I can do them myself.
    Thank you!

    If you download my crafting actions package you can record an action that uses one of my plug-in scripts to do that process. You could then batch that action and process your 500 png image files.
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Example
    Download
    Step 1 Select layers transparency
    Step 2 Copy
    Step 3 Paste
    Step 4 Select all
    Step 5 Align Layer s to selection vertical center
    Step 6 Align Layer s to selection horizontal center
    Step 7 Select bottom Layer
    Step 8 delete current layer
    Ste9 9 Fille>Automate>AspectRatopSelection... In the dialog set 1 1 ratio center rectangle replace selection feather 0
    Step 10 Image Crop
    Step 11 File Automate>Fit Image.  In dialog enter width and height 800
    Step 12 Image size in the dialog uncheck Resample and enter 300 in the resolution field.
    I'm sure the should work you mane not need the copy paste and it depends on how Photoshop treats the PNG layer the canvas size or just the pixels.
    This may also work
    Step 1 Select all
    Step 2 Align Layer s to selection vertical center
    Step 3 Align Layer s to selection horizontal center
    Ste9 4 Fille>Automate>AspectRatopSelection... In the dialog set 1 1 ratio center rectangle replace selection feather 0
    Step 5 Image Crop
    Step 6 File Automate>Fit Image.  In dialog enter width and height 800
    Step 7 Image size in the dialog uncheck Resample and enter 300 in the resolution field.

  • Need help on transforming a bufferedimage back to an image

    Hi,
    for a project in school, I need to read in a .jpeg file, transform it to a bufferedimage, getting the pixels. Then I make a new bufferedimage and all the RGB values that are higher then a certain (changeable) contrast value are made white, the other black (so basicly i transform an image to black and white) (with getRGB from colorimage and setRGB to the new bufferedimage)
    But I have trouble to transform the black and white bufferedimage to an image for viewing the image...
    The code for that part is like this:
    public void beeldWeergeven(){
         for (int j=0;j>height;j++){
              for (int i=0;i<width;i++){
                   waarde = zwartwitmatrix[j][i]*255;
                   imagezw.setRGB(i,j,waarde);
         Image zwimage = toImage(imagezw);
         zwimage = null;{
         JFrame frame = new JFrame();
    JLabel label = new JLabel(new ImageIcon(zwimage));
    frame.getContentPane().add(label, BorderLayout.CENTER);
    frame.pack();
    frame.setVisible(true);
    public static Image toImage(BufferedImage bufferedImage) {
    return Toolkit.getDefaultToolkit().createImage(bufferedImage.getSource());
    When I compile, I always get a nullpointerexception
    I'm not that good at writing java, so if anyone could lend me a hand on this :)

    For the moment (guess you know there are other ways to Black and White anyway):
    for (int j=0;j>height;j++)
    should be
    for (int j=0;j<height;j++)
    possibly??

  • Need help with widget loading problem. Using Nivo image slider within basic composition.

    I am using a basic composition widget to display multiple Nivo image sliders. Each basic tab displays its own Nivo slider. Please reference http://penthouse.businesscatalyst.com/cocktails
    The problem I am experiencing is when I click on a tab (ie: Whiskey) it displays the composition box containing the slider, but the slider is like it is stuck up in the top and it waits and then finally comes down and starts the Nivo slider after that. I just want the image slider to appear showing the first slide instead of transitioning it in. In the settings for the basic composition, the only transition that is selected is fade. Any ideas?

    No...  Try this link:  COCKTAILS
    You should see this then click on whiskey

  • I need help in German!!! (export lose image quality)

    Wenn ich von meinen Fotos ein Poster bestellen will, kommt die Meldung vom Fotolabor, dass die Qualität nicht brauchbar ist. Dies, obwohl die Fotos alle scharf sind. Habe es inzwischen mit einem Poster versucht, dass ich schon einmal bestellt habe. Damals kam die Meldung über die Qualität als 'optimal' zurück und jetzt fürs gleiche Poster als 'unmöglich'. Dies ist meiner Meinung nach, erst seit dem vorletzten Update von iPhoto. Kann mir jemand in Deutsch helfen???? Besten Dank!

    hi kelli, erst einmal Herzlich Willkommen bei den  boards ...
    Ich wurde 'hinter den Kulissen' zu Hilfe gerufen, weil sich hier nur recht wenige Deutschsprachige tummeln.. meine Domäne ist ein ganz anderes Programm (iMovie) und mit Bildbestellungen aus iPhoto hab ich leider keine eigenen Erfahrungen..
    Wir haben jetzt hier zwei Möglichkeiten:
    ich dolmetsche..
    oder verweise Dich auf ein Deutschsprachiges forum (da tummel ich mich auch als k_munic): macuser.de ..
    Zunächst mal müssten wir ein paar Eckdaten wissen, .. was ist die Quelle des Bildes? Kannst Du in iPhoto/Apfel-I mal drücken, uns ein paar Daten zur 'Auflösung' geben? Und schließlich wie aus iPhoto heraus 'bestellst' Du? Ich vermute mal stark, dass da beim Export 'was schief läuft.. (denn wenn's vorher ging...)
    == english version ==
    me no expert in iPhoto nor ordering prints.. :
    kelli did allready ordered a 'high quality print out' with that specific photo, and got from the print service the feed 'file is excellent'... now, trying to place a 2nd order, 'same' file got a 'not usable for print/low quality' ..
    I assumed, somthing got wrong in the workflow 'from within iPhoto to service' and asked kelli for some details..
    if you like to join, I try to translate (and send kelli to a German speaking site.. )

  • Need help with representing 2 bits of data in a column

    I Need help representing only 2 bits of data in a column in order to save space.
    Is that possible?

    CommitMan wrote:
    I Need help representing only 2 bits of data in a column in order to save space.
    Is that possible?Yes - using Assembler....
    If you need to count bits to save space, then you must be on 70's, or early 80's, hardware. So using Assembler should not be a problem. Let me guess.. a 8051 microcontroller from the 1980?
    Here's what the 8051 code and memory optimisation manual says:
    >
    The simplest and best way to get dramatic improvements
    in efficiency is to look for all variables that will have only
    binary values (0 and not 0), and define them as type 'bit‘:
    bit myVar;With bit variables, the full set of 8051 bit-level assembler
    instructions can be used to generate very fast and
    compact code. For example, the following C code:
    myVar = ~myVar;
    if (!myVar)
    }Generates only two lines of assembler:
    B200    CPL myVar
    200006  JB myvar,?C0002This example uses only 5 flash bytes and 8 CPU cycles.
    When you use bit variables, you can implement a
    nontrivial line of C code with just one assembler
    instruction.
    >
    <i>PS. Yes, the above is really from a manual for a real 80s microcontroller. And yes, I'm poking fun at your question as saving bits were a problem in the 80s and prior. It should not be a problem in the 21st century information system and database.</i>

  • Need help with AnyConnect 2.5.3055

    When I try to connect via the AnyConnect client I am presented with the certificate pop up.
    If I accept the certificate I get a message at the bottom of the AnyConnect screen stating “Connection attempt has failed”.
    If I deny it I get a pop up message from AnyConnect stating “AnyConnect cannot confirm it is connected to your secure gateway. The local network may not be trustworthy. Please try another network”.
    I am connecting to a Cisco 2851 running Cisco IOS Software, 2800 Software (C2800NM-ADVSECURITYK9-M), Version 12.4(24)T2, RELEASE SOFTWARE (fc2)

    CommitMan wrote:
    I Need help representing only 2 bits of data in a column in order to save space.
    Is that possible?Yes - using Assembler....
    If you need to count bits to save space, then you must be on 70's, or early 80's, hardware. So using Assembler should not be a problem. Let me guess.. a 8051 microcontroller from the 1980?
    Here's what the 8051 code and memory optimisation manual says:
    >
    The simplest and best way to get dramatic improvements
    in efficiency is to look for all variables that will have only
    binary values (0 and not 0), and define them as type 'bit‘:
    bit myVar;With bit variables, the full set of 8051 bit-level assembler
    instructions can be used to generate very fast and
    compact code. For example, the following C code:
    myVar = ~myVar;
    if (!myVar)
    }Generates only two lines of assembler:
    B200    CPL myVar
    200006  JB myvar,?C0002This example uses only 5 flash bytes and 8 CPU cycles.
    When you use bit variables, you can implement a
    nontrivial line of C code with just one assembler
    instruction.
    >
    <i>PS. Yes, the above is really from a manual for a real 80s microcontroller. And yes, I'm poking fun at your question as saving bits were a problem in the 80s and prior. It should not be a problem in the 21st century information system and database.</i>

Maybe you are looking for

  • File Transport request failed in PI/PO 7.4 dual stack

    Dear Experts, i am transporting from QA to Production Environment of ESR objects through file transport, it is showing import successfull. but whn i checked the latest version/modified objects those are not reflecting in ESR. cache is clear and i hav

  • Regarding RFID Design

    We are on way to implement WM(Warehouse management)module from the scratch along with the RF functionality(Mobile data entry) in one of our ware house....project time line is 4 months to go live and we are at design stage now.. Need your guidance on

  • How can I use the ScrollTablePane with kodo ?

    How can I use the ScrollTablePane with kodo, taking a result Query as a Collection and throw it into the ScrollTablePane , if it not possible , Is there a Component which I can do it ? Thanks , Marco Aurelio.

  • Having problems opening firefox (vista) i have to goto task manager and close process all the time just to reopen?

    hi i have just recentley started having problems opening firefox up (before update) i use vista, i can double click on icon and nothing happens but when i turn pc off it pops up as the screen is going off very strange? the only way i can get it to wo

  • Adding componets to oracle home after patching

    I installed 10.1.0.2 RDBMS enterprise edition and applied the 10.1.0.3 patch and the Jan05 critical update patch. When I wanted to use the dB created with this home as OEM Grid control repository, I found that it did not have LABEL Security. My quest