Removing power lines from sky

I thought I'd post this here, since it is related to photography.
I've got a set of power lines to remove from a photo.
Blue sky, with a bit of cloud.
The wires are running through the sky at approximately a 45 degree angle, based on the composition of the shot.
I'm familiar with some of the recommended methods: (1) cloning it out, (2) making a layer by lasso-ing a section of the sky, either above it or below it, then new layer via copy, then moving the layer over the wire.
But, there is enough of a difference between the sky above the wire, and below it, to make the new "sky" just as evident as the wire itself.
Can you suggest some other methods to accomplish this task?
Thanks.
Al

What program are you using? You'd usually do best to ask in the forum related to the program, rather than in the general photography forum here.

Similar Messages

  • Removing power lines using the Stroke path method

    I watched a video created by Adobe Product Manager Brian O. Hughes titled Adobe Max:  Hidden Gems in Photoshop an excellent video (see link below).  I have been trying his easy method of removing power lines from an image using the pen tool and stroke path method defined as follows:
    Using the pen tool create a path of the line to be removed.  Making sure the brush tool is small and set at 100% opacity;  click on the Spot Healing Brush making sure it is set to "content aware".  Then in the path panel click "stroke path" and it removes the line.
    Well I have followed these instructions several times, very simple, but it doesn't remove the line for me.  I can manually shift click the start and ending point and it removes it but using the stroke command within the path panel doesn't work.  I am making sure the path is active.
    Any ideas why it doesn't work for me?
    Thanks...........Ralph
    Here is the link to the video, his technique is listed near the end, @ minute 56:  http://www.youtube.com/user/Photoshop

    Hi jjMack, thanks for your response.  I found my problem after realizing that I hadn't terminated my pen line.  I didn't realize I had to click the end anchor point to complete the line,  I thought since the line was obvious on the image that it had been created and  thought I couldn't see it in the paths panel because it was so small (these old eyes aren't what they used to be).  When clicking on the last anchor point it could easily be seen on the paths panel..  I just don't use the pen tool enough so I didn't realize my error.  Learn something everyday.  Incidentally, I had set the stroke path on the paths panel to Spot Healing Brush and only used the tools menu to confirm that content aware was selected.
    Thanks again JJ................Ralph

  • How to remove characters/lines from the beginning of an InputStream

    Hi,
    I have a program which receives several InputStreams. From each of these streams I have to remove 2 lines from the beginning. After the lines are removed, all the streams are combined to one with SequenceInputStream and read in one chunk. Is there an easy/simple way of doing this?
    One option I thought would be to read the char by char until 2 end of line chars have been detected and then read the rest of the data to a buffer. And the create a ByteArrayInputStream out of this buffer. Problem with this approach is, that the amount of data can be large, so putting all the data in to memory might cause problems.
    Another option is to use BufferredInputStream and use the readline() method twice to get rid of the lines that are not needed. After this I would write the data to some output stream, which is then converted back to input stream. Propably would work, but sound too much of work for a simple thing like this. There has to be better way.
    To make it simple, what I need is a method that looks like the following, or something similar
    *  Removes n number of lines from the beginning of a InputStream.
    *  @param is InputStream where the lines are removed
    *  @param numberOfLines int value to indicate how many lines whould be removed
    *  @return InputStream where lines have been removed.
    public InputStream removeLines(InputStream is, numberOfLines);Thanks.

    Here's the code, feel free to use it. Comments are also welcome.
    public InputStream removeLinesFromTheBeginning(InputStream is, int numberOfLines) throws IOException
              char c = 'c';
              int i = 0;
              for(int n = 0 ; n < numberOfLines ; n++)
                   do
                        c = (char)is.read();
                        System.out.print(c);
                        if(c == (char)-1)     // end of stream reached before any newline characters were found.
                             return null;
                        i++;
                   while(c != '\n');
                   System.out.println();
                   System.out.println("Characters removed:" + i);
                   System.out.println("n: " + n);
                   i = 0;
              return is;
         }Edited by: dave_spaghetti on Jun 16, 2009 5:42 AM
    Fixed a bug.

  • How can i remove a line from an ordinary text file?

    It is easy to remove a line from a file by rewriting the file. how can i remove a line without rewriting ? Also, do not use whitespaces to overwrite the line. I expect a perfect line deletion code .....

    gimbal2 wrote:
    hsc71 wrote:
    It's the way you communicate. Try to be carefull with the words you use in your post. It's easy to insult people just by choosing the wrong words. Bold text and capitals is equal to shouting.
    shock. You said "wrong words". I am seriously offended by that!
    Seriously, would you care that I am offended? I really hope not... Say what you want, people will find reasons to take offense one way or the other.Hehe, maybe you're right, but the OP still has no answer.............and in the end that's what he/she is looking for.

  • [svn] 4694: Don't remove text lines from the container if it isn' t the container the lines were added to.

    Revision: 4694
    Author: [email protected]
    Date: 2009-01-27 14:35:21 -0800 (Tue, 27 Jan 2009)
    Log Message:
    Don't remove text lines from the container if it isn't the container the lines were added to. When there is a state change the displayObject can be switched out from under the TextGraphic and TextBox.
    QE Notes: need to add tests - will attach my test program to bug
    Doc Notes:
    Bugs: SDK-18923
    Reviewers: Gordon
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18923
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextBlockCompose r.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextFlowComposer .as

    Yup, you guys pointed me in the right direction.
    I changed my adjustmentListener to the following:
    JScrollBar scrollBar = (JScrollBar) e.getSource();
    int endLoc = document.getLength();
    try {
        Rectangle end = outputArea.modelToView(endLoc);
        if (end != null) {
            int n = scrollBar.getValue() + scrollBar.getVisibleAmount();
            boolean locked = (end.y >= n && n <= (end.y + end.height));
    } catch (BadLocationException ex) {
    }By comparing scrollbar position with the visible rectangle of the end of the document, I can now easily tell if the user has moved the tracker back or not.
    To go to the next step of automatically pausing scrolling whenever the user is moving the slider back, I also had to disable the automatic scrolling performed by DefaultCaret. Because there was no way to tell if the user was scrolling or if the output was adjusting from the adjustmentListener, I also had to flag whenever I was autoscrolling.
    The end result is a JTextPane that can be appended to at all, and locked by the user by using the slider. If new data arrives, the window is not scrolled, and any text selection the user has is not cleared. Perfect!

  • Is there a charge to remove a line from my plan?

    I have several lines on my current wireless plan.  Will there be a charge to remove any of those lines and if so, how much is the fee?

        KWildman, the more, the merrier! Why would you want to remove a line from your account? Let's talk about this.
    When accepting a two year agreement, each line has it's own contract end date. If you cancel services prior to the contract end date, then you will be billed an Early Termination Fee. This fee varies based on the device that you upgraded to and amount of months that you've completed on that contract. For more information regarding your customer agreement and how the Early Termination Fee is calculated, click http://bit.ly/17srsZb
    Lasina_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • How to remove new line from string

    I have a string say following
    String line = "one\ntwo\nthree";Now i am trying to remove new line from string. For this i did following
    String txt = line.replaceAll("\\n","");But i see still new line is occuring. Is it correct way. Please advice me.

    Ok. I was just using \n instead of \r\n. And i am in windows. I will give a try with \r\n
    Ok i tried using following , but it doesnt work.
    line = line.replaceAll("\\r\n","");Am i missing anything here. Please guide me.
    Edited by: ArpanaK on Oct 8, 2007 4:44 PM

  • How do i remove a line from my family plan?

    I need to remove a line from my family plan, how do i do it on the computer?

    You can't cancel service on-line; you'll need to either call Customer Service or visit your local Corporate Verizon store.

  • How can I remove a line from a file?

    how ca i remove one or more than one line from a text file?

    Open the file for input.
    Open another file for output.
    Read each input line.
    If you want to delete it, go get the next line
    Otherwise, write the line to output, and go get the
    next line.
    Close both files.

  • How to remove empty lines from xml files after removing nodes from document

    <pre>
    Hi
    <b>i have xml document, which is shown below
    after removing some nodes from the document ,i am getting empty lines in place of removed nodes,how to resolve this and get the proper xml document without any errors</b>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE Message SYSTEM "TRD01.dtd">
    <Message>
    <Header>
    <CounterPartyType>CLIENT</CounterPartyType>
    <CreationTime>20134455</CreationTime>
    <ErrorCode>363 </ErrorCode>
    <ErrorEnterPriseId>N</ErrorEnterPriseId>
    <ErrorStatus>1</ErrorStatus>
    <ErrorSystemId>STL</ErrorSystemId>
    <ErrorTimes>31</ErrorTimes>
    <MessageType>T</MessageType>
    <RecipientEnterpriseId>N</RecipientEnterpriseId>
    <RecipentSystemId>EXM</RecipentSystemId>
    <Remarks>REMARSK</Remarks>
    <SenderEnterpriseId>N</SenderEnterpriseId>
    <SenderSystemId>TR</SenderSystemId>
    </Header>
    </Message>
    <ErrorCode>363 </ErrorCode>
    <ErrorEnterPriseId>NIHK</ErrorEnterPriseId>
    <ErrorStatus>1</ErrorStatus>
    <ErrorSystemId>STL</ErrorSystemId>
    <ErrorTimes>31</ErrorTimes>
    XPathExpression expression5 = xpath.compile(xmlpath5);
    Object result5 = expression5.evaluate(doc, XPathConstants.NODE);
    Node node5 = (Node) result5;
    node5.getParentNode().removeChild(node5);
    XPathExpression expression6 = xpath.compile(xmlpath6);
    Object result6 = expression6.evaluate(doc, XPathConstants.NODE);
    Node node6=(Node) result6;
    node6.getParentNode().removeChild(node6);
    XPathExpression expression7 = xpath.compile(xmlpath7);
    Object result7 = expression7.evaluate(doc, XPathConstants.NODE);
    Node node7=(Node) result7;
    node7.getParentNode().removeChild(node7);
    doc.normalize();
    doc.normalizeDocument();
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer();
    t.setOutputProperty(OutputKeys.INDENT, "yes");
    t.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
    t.setOutputProperty(OutputKeys.METHOD,"xml");
    t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    the xml output i am getting is
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Message>
    <Header>
    <CounterPartyType>CLIENT</CounterPartyType>
    <CreationTime>20134455</CreationTime>
    <MessageType>TRD01</MessageType>
    <RecipientEnterpriseId>N</RecipientEnterpriseId>
    <RecipentSystemId>STL</RecipentSystemId>
    <Remarks>REMARSK</Remarks>
    <SenderEnterpriseId>N</SenderEnterpriseId>
    <SenderSystemId>T</SenderSystemId>
    </Header>
    </Message>
    <b>could you please let me know how to avoid empty lines in the xml doucment output</b>
    this is the method i am using to get the result
    public void ValidateRecord(String xml){
    try{
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = factory.newDocumentBuilder();
    //parse file into DOM
    /*DOMParser parser = new DOMParser();
    parser.setErrorStream(System.err);
    parser.setValidationMode(DTD_validation);
    parser.showWarnings(true);*/
    System.out.println ("HI THIS xml is validation "+xml);
    Resolver res = new Resolver();
    db.setEntityResolver(res);
    Document doc = db.parse(new InputSource(new StringReader(xml)));
    XPathFactory xpf = XPathFactory.newInstance();
    XPath xpath = xpf.newXPath();
    // XPathExpression expression = xpath.compile("//A/B[C/E/text()=13]");
    String xmlpath="/Message/Header/CounterPartyType/text()";
    String xmlpath1="/Message/Header/RecipentSystemId/text()";
    String xmlpath2="/Message/Header/ErrorSystemId/text()";
    XPathExpression expression = xpath.compile(xmlpath);
    XPathExpression expression1 = xpath.compile(xmlpath2);
    Object result = expression.evaluate(doc, XPathConstants.NODE);
    Object result1 = expression1.evaluate(doc, XPathConstants.NODE);
    Node node = (Node) result;
    Node node1 = (Node) result1;
    System.out.println("the values of the string is " +node.getNodeValue());
    System.out.println("the values of the string is " +node1.getNodeValue());
    // for (int i = 0; i < nodes.getLength(); i++) {
    //System.out.println(nodes.item(i).getNodeValue());
    // CAHNGING THE RECEIPENT NODE
    XPathExpression expression2 = xpath.compile(xmlpath1);
    Object result2 = expression2.evaluate(doc, XPathConstants.NODE);
    Node node2 = (Node) result2;
    System.out.println(node2);
    node2.setNodeValue(node1.getNodeValue());
    System.out.println(node2);
    //removing the nodes from document
    String xmlpath3="/Message/Header/ErrorCode";
    String xmlpath4="/Message/Header/ErrorEnterPriseId";
    String xmlpath5="/Message/Header/ErrorStatus";
    String xmlpath6="/Message/Header/ErrorSystemId";
    String xmlpath7="/Message/Header/ErrorTimes";
    XPathExpression expression3 = xpath.compile(xmlpath3);
    Object result3 = expression3.evaluate(doc, XPathConstants.NODE);
    Node node3 = (Node) result3;
    node3.getParentNode().removeChild(node3);
    XPathExpression expression4 = xpath.compile(xmlpath4);
    Object result4 = expression4.evaluate(doc, XPathConstants.NODE);
    Node node4 = (Node) result4;
    System.out.println("node value");
    System.out.println(node4.getParentNode().getNodeName());
    node4.getParentNode().removeChild(node4);
    XPathExpression expression5 = xpath.compile(xmlpath5);
    Object result5 = expression5.evaluate(doc, XPathConstants.NODE);
    Node node5 = (Node) result5;
    node5.getParentNode().removeChild(node5);
    XPathExpression expression6 = xpath.compile(xmlpath6);
    Object result6 = expression6.evaluate(doc, XPathConstants.NODE);
    Node node6=(Node) result6;
    node6.getParentNode().removeChild(node6);
    XPathExpression expression7 = xpath.compile(xmlpath7);
    Object result7 = expression7.evaluate(doc, XPathConstants.NODE);
    Node node7=(Node) result7;
    node7.getParentNode().removeChild(node7);
    // Node b13Node = (Node) expression.evaluate(doc, XPathConstants.NODE);
    //b13Node.getParentNode().removeChild(b13Node);
    doc.normalize();
    doc.normalizeDocument();
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer();
    t.setOutputProperty(OutputKeys.INDENT, "yes");
    t.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
    t.setOutputProperty(OutputKeys.METHOD,"xml");
    t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    t.transform(new DOMSource(doc), new StreamResult(System.out));
    catch (Exception e) {
         e.printStackTrace();
    System.out.println(e.getMessage());
    </pre>
    Edited by: user12185243 on Apr 6, 2013 6:38 AM
    Edited by: user12185243 on Apr 6, 2013 6:41 AM
    Edited by: user12185243 on Apr 6, 2013 6:43 AM
    Edited by: user12185243 on Apr 6, 2013 6:45 AM
    Edited by: user12185243 on Apr 6, 2013 9:00 AM

    either this way we can do this
    1)
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    <b> factory.setIgnoringElementContentWhitespace(true); </b>
    DocumentBuilder db = factory.newDocumentBuilder();
    or
    2)
    java.io.StringWriter sw = new java.io.StringWriter();
    StreamResult sr = new StreamResult(sw);
    t.transform(new DOMSource(doc), sr);
    String xml1 = sw.toString().trim();
    <b> xml1=xml1.replaceAll("\\s",""); </b>
    System.out.println(xml1.trim());

  • Problem removing grid lines from prints in PhotoShop Elements 13

    I cannot remove faint grid lines from my prints in Photoshop Elements 13, even after I've turned off the grid overlay. How can I get these lines out? I'm desperate as I am writing a book and am stymied at this point. Help!

    John Maggot wrote:
    I cannot remove faint grid lines from my prints in Photoshop Elements 13, even after I've turned off the grid overlay. How can I get these lines out? I'm desperate as I am writing a book and am stymied at this point. Help!
    The grid does not print. There has to be another source for the visible grid lines on your prints. Suggest that you do the following:
    Make sure that your ink cartridges have plenty of ink
    Do a deep cleaning of your print head
    Align the cartridges as per instructions in the printer's manual
    Do a test print

  • Remove blanco line from poplist

    Hi,
    How do I remove a blanc line from the poplist? I've first entered 4 items in the list item property of the poplist. The insert property is set to no, required is set to yes and initial value is '0'
    Now I want the last item to be removed:
    If I simply delete the list item and the value a blanc line appears when running.
    I've also used 'ctrl + <'. This removes the item but when trying to compile I receive an error because the blanco items under the line that I've deleted contains LIST38, LIST39, ... as value. This doesn't correspond with the max length of 1.
    Any idea?
    Thanks

    I've solved it.
    I've also deleted the last item that I actually didn't want to deleted and everything beneed it with ctrl + < and than add it the item again.
    Thanks for your time.
    Regards

  • Why do I have to move my phone line from Sky to BT...

    I have just spent the last 14 days trying to move my broad band from BT to Sky, I was told by Sky that I have to have a new phone number and as I was getting loads of unwanted phone call I thought that it would be a good Idea.  So any way I ordered a new number and broadband with sky.
    Any way to cut a 14 day long story short, Sky cannot provide me with Broadband due to incompatible technology, so I really do not have any other option other than to come back to helpful BT.  Just phone BT up to order my BB to be told that they cannot help me unless I move my phone number back to BT..........
    When questioned about this I was told that "I have to have both phone line and Broadband with BT"......... NO I DO NOT, in February 2012 I moved my phone line to Sky and my Broadband staied with BT, as there was a problem switching it over, little did I know then what I know now.
    So could someone from BT 'in the know' please tell me why I have to move my phone line back to BT

    sorry mate.
    Hadn't heard about TPON lines before today.
    Doing a quick google search, found this:
    "TPON stands for Telephony over Passive Optical Network
    TPON was a method used by BT (now Openreach) mainly in the 1980s and early 1990s to deliver phone lines to new build areas where there wasn't enough existing copper capacity available. This decision was made before ADSL was envisaged, and as ADSL requires a copper pair route between customer and exchange, this means customers in TPON areas are currently unable to receive ADSL."
    Hope all is sorted soon.
    Cheers
    jac_95 | BT.com Help Site | BT Service Status
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Try a Search
    See if someone in the community had the same problem and how they got it resolved.

  • Remove a line from develop module history

    Hi, is it possible to remove a line (and the action related to it) from the history of the develop module ?
    As I explain in another thread, Lightroom reinit all my modification after a "Read metadata from file" and I want to remove this action.
    Thank you !

    Hi Booby,
    You could use an XSL-mapping for this purpose:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
        <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
        <xsl:template match="/">
            <xsl:copy-of select="."/>
        </xsl:template>
    </xsl:stylesheet>
    Sorry, i didn't read that you dont want a map, if you dont find the adapter solution you can use this map
    I've seen this option in the module adapter, but i dont test it:
    Regards
    Message was edited by: Iñaki Vila

  • Remove black lines from a tiff image in Photoshop.

    Hi,
    I am developing an automation plugin in Ps. I have images which contains text, border and vertical lines. I need to remove the lines and border from the image. The problem is that the color of text,line and border are same ie. black.
    I tried reading pixel by pixel but couldn't differentiate between the lines and text as both are of same color.
    Can anyone suggest some other way to achive this?
    Thanks in advance.

    Just to clarify the situation for us. You want to remove the black frame and the vertical lines while leaving the black rectangle and the text intact in the image? Is this correct?
    You also mentioned you are attempting to create an "automation plug-in for Photoshop"
    You say you have other images, I'm assuming they are different for the one you posted but you want the "plug-in" to delete the black frame & vertical lines from a number of different images?
    Will the black rectangle always be in the same exact position and will the image dimensions for all the images always be the same?
    As Noel said, you should go to the Photoshop SDK forum. Explain to them what you want to do and that you want to do this on many different images.
    As an afterthought, a Plug-in is different from a Photoshop Action. Perhaps this could be partially done with an Action that allows for a pause to select or change something before continuing the action.
    And no, I don't create Actions myself so I can't help.  Do some reading and see what you can come up with.

Maybe you are looking for

  • Be query related problem

    hi all I AM FACING SIMILAR PROBLEM I.E I CREATED NEW QUERY UNDER ONE CUBE AS PER REQ, AND PREVIOUSLY WHILE I WAS CREATING NEW QUERY IT ASKED FOR NEW REQUEST SO I ASSIGNEd  THAT QUERY TO NwE  PARTICULAR REQUEST.SO IT WORKED. NOW AGAIN WHEN CREATING NE

  • Oracle 9i Sql tunning

    HI all, Is there any command line method in oracle 9i which suggest optimizations for a sql query like tunning advisor in 10g. I want to know a command line method not the oracle management Server Thanks Lbn

  • Cannot allocate memory error

    Hello, I am using: Oracle: Berkeley DB XML 2.5.16: (December 22, 2009) Berkeley DB 4.8.26: (December 18, 2009) When attempting to open a container in an environment where the application process has been running for a while I get the following error:

  • How to open a lightroom tif in photoshop?

    I have a document in lightroom that I want to edit in photoshop. Do I export? what is a dng?

  • How to install workflow on oracle 10.2

    hi, i've installed oracle database 10.2 but when i try to install oracle workflow 2.6.3 it says: some components in the stage are have stage version less than 10.2.0.0.0. please ensure that all the components have their stae version greater than ot e