Draw line or a dot for a specific pixels on the image

Hi all,
I have an 8bit grayscale image, i have extracted the column indeces of Image which has defects. I need to mark the defective pixels with a line or dot indication on the image. Can anybody suggest me how to go about it.
Regards,
KM
Solved!
Go to Solution.

Hi falkpl,
Thanks for your  time, the overlay is working fine, i passed a 1D array of constant pixels (i.e 250)(Y Coordinates)
Here is my actual requirement:
I am having a Grayscale 8-bit image (3969 X 600)(To find the pixel values widthwise which has defects, X-Coordinates).
I perform sum of column pixels to get a 1d array.
I get the average (average= sum/size of 1d array)
I find the pixel values above average.
Finally i extraxt the Non-zero indeces for the pixel values. 
I am facing an issue to find the Cooresponding Y-Coordinates(Pixels for height) for the X-coordinates(Pixels for Width). So i can feed the both x & y coordinates to overlay function to mark the exact pixel with defect on the image.
I would be glad if you suggest me how to find the height pixels for the corresponding width pixels.
Regards,
KM
Attachments:
Capture.PNG ‏19 KB

Similar Messages

  • How do I search for a specific word in the code using Dreamweaver?

    I need to search for a specific word in the code for all of my website pages. How can I do that using Dreamweaver?

    To search local files of a Defined Site in DW...
    Open the Find & Replace tool with Ctrl + F
    Change the Find In dropdown to Entire Current Local Site
    Change the Search dropdown to Text or Source code
    Add the text to find in the Find field
    Add the text to replace in the Replace field (or nothing if you just want to delete the text)
    Hit Replace All

  • How to get column names for a specific view in the scheme?

    how to get column names for a specific view in the scheme?
    TIA
    Don't have DD on the wall anymore....

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • Just got a Nikon D610 and CS5 for Mac can't open the images -- message says installed version of camera raw doesn't support the camera.  Downloaded the Raw 6.2 update for Mac, but installation failed. Now what?

    just got a Nikon D610 and CS5 for Mac can't open the images -- message says installed version of camera raw doesn't support the camera.  Downloaded the Raw 6.2 update for Mac, but installation failed. Now what?

    The D610 didn't get out-of-the-box RAW support until Photoshop CC.
    You can either upgrade to CC or use the DNG Converter to convert and open your DNGs in CS5.

  • Please help me!--rendering makes the images or video blurry (very pixelated) deteriorates the image  Adobe Premier Elements 13  need help!  .jpg and mpeg images,  but I have never "rendered" before since I got APE 13 about 6 weeks ago.  I am desperate for

    Please help me!--rendering makes the images or video blurry (very pixelated) deteriorates the image  Adobe Premier Elements 13  need help!  .jpg and mpeg images,  but I have never "rendered" before since I got APE 13 about 6 weeks ago.  I am desperate for assistance!

    That's going to be a ridiculous waste of money and energy.
    First of all, the current ATI drivers don't support multiple GPUs, so at the moment even a single 4870X2 would be only a 'normal' 4870 (which is quite a speed beast already). GFX drivers evolve rapidly, so things might look different next month, but when it comes to Linux and hardware there's one Golden Rule: stay away from the newest stuff and wait for proper support to get coded.
    I also wonder what power supply could possibly cope with the differences between idle and full load; that's way beyond 400W. But then, I'm one of those "quiet&green" types where >100W idle is already a bit much.
    I kind of understand that you want to get it done and not worry about hardware for the next 10 years or so, but that's simply not how the hardware world works and never did. At least not for the average consumer.

  • When using the "Fill & Sign PDF" feature, is there a way to stretch to size the text box, for a specific area on the page...instead of it going on in one straight long line...?

    When using the "Fill & Sign PDF" feature, is there a way to stretch to size the text box on a specific area of the page...instead of the text box going on in one straight long line....? I'm not seeing there's an option or ability to do so, just wanting to confirm.

    Improving the handling of multiple line text fields is in our plans, but for now, you will have to add manual carriage returns (Enter).
    Thanks,
    Josh

  • I would like to find a program to draw lines, shapes and words for my iMac.

    If anyone can help me find a program or App for my iMac that lets me draw lines, shapes and letters.
         Thank You
         Sandy

    http://www.sketchup.com/
    Try this it is a free download and it is a great program. I almost feel guilty not paying anything:)

  • Adobe Photoshop: how to create cut lines on landscape letter for two 5 by 7 in images?

    adobe photoshop: how do i create cutting lines in adobe photoshop if my document is landscape 8.5 by 11 inches and the image are two side by side 5 by 7 in (so appearing 10 inches wides, 7 inch height)... so basically this leaves a 0.5 border top/bottom/left right....i need corner crop marks and a little line in the middle top and bottom (in the crop area) to designate where to cut the 10 inches into 2, creating my two 5 by 7 inches for each image... my guidlines are perfectly aligned, i just need to know how to make cut lines out of my guidelines except in the middle

    What I use to do years ago, before most apps had auto crop marks. Was create the guidelines for the margin. Use a line tool, pen tool, etc. and create a line that goes from the guidelines where they meet each other and draw outwards to the edge of the page. Because the line is on the guideline, it snapped to it, making it a straight line. Repeated for the same corner drawing the other direction. (In other words, if I was doing the top left corner, I would draw out to the left, then repeat to draw out to the top of the page).
    Group the two line, copy and flip to snap it to the next corner and repeat until all four corners of the page are done.
    But if you have a postscript printer, acrobat pro, adober illustrator or adobe indesign, they will generate the crop marks for you.
    tip: Do the above while creating an action and your done for the next time. Just run the action. But I reccomend that you set the rules to percentages when creating the guidelines, that way, it can work on more than one image size.

  • Is there a way to search for a specific keyword within the sites to which the bookmarks are linked? I need to search all linked sites in the bookmark folder without having to open each page and "find" manually.

    Currently, I must browse through 50 or so bookmarked pages to see if a specific topic is covered. I would like to be able to search all bookmarked pages at once for a specific keyword. For example, if I have 50 news sites bookmarked and I would like to see which pages have the word "tuna" in them, I would need to open each page individually and do a "find". If I could search all of those pages at once, then I would save an immense amount of time. I have looked on the add-ons and found nothing...

    1. Create a smart album and in the drop down in the top right corner select file status
    2. Check mark the file status box and select 'Offline'
    Now you should have all your 'Offline' (Yellow Exclamation and/or Red Slash) files.
    To reconnect..
    1. Select the missing files.
    2. Go to File and scroll to Manage Referenced Files
    The dialog box will have one of the photos selected
    3. Select the drive and folder that contains the referenced file and select it
    4. Click 'Reconnect All'
    This might not reconnect all of them, but the dialog box will still be open and you can reconnect the ones left.
    Narvon
    Message was edited by: Narvon

  • How do you set a calendar alarm for a specific time on the day of the event without it being an all-day event

    Does anyone know how to set a calendar alert at a specific time on the day of the event.
    So that the alert date adjusts accordingly if you were to copy and past it to another date.
    The custom alert function kind of does this, but because it is an absolute alert (not relative) it will still refer to the date you initially set it to when you copy and paste it to another date. So this creates more work where you would have to go and manually change all the custom alerts. I have potential
    Anyone know how to set this kind of calendar alert?
    Thanks in advance

    Greetings: Set the alarm to message you (on your screen) and then snooze it every day for 15 days, or, set 15 separate alarm messages. There is probably an AppleScript somewhere on the web too, try searching that way as well.

  • Ho do I search for a specific song in the new itunes store?  The search button is missing.

    I have always searched the iTunes store for specific songs by the song title and not by the album or artist.  Is this still possible?  I have spend an hour looking and have not found any way to search inside the store. 

    If you are missing the Search field you may be missing the entire top section, together with the progress bar when playing and the red, yellow and green buttons. This can happen if iTunes overlaps the top of the screen (which of course it shouldn't do).
    If this is the case, click and drag on the very bottom right-hand corner of the window (when in Library/Music or the iTunes Store) and drag upwards to reduce the height of the window. Then click on the bottom bar and drag downwards.

  • JSF Table StyleClass issue for a specific Field inside the Table

    Hi There,
    Am having an issue of dynamically setting the styleClass for a specific field inside a DataTable. Here is how the JSF code is ..
    <h:column>
    <h:panelGrid id="column4" columns="1" cellpadding="0" cellspacing="0">
    <h:inputText id="numberOfApps" value="#{row.submitNumber}" styleClass="#{row.customStyleClass}" maxlength="6" converter="MyNumberConverter" />
    </h:panelGrid>
    </h:column>
    This Table has a specific column which has a input Text Box where user enter's data. This data will be validated in the bean where in after the validation if its exceeding a limit we should throw an error message and also highlight the field with a specific styleClass.
    I am setting the StyleClass dynamically based on the User Input, so that I can display a highlited Error Field on the screen. Strangely enough, styleclass is getting set as expected for the first submit but doesnt show any styles for further submits. Even the existing style is getting removed from the second submit onwards. I am setting this "customStleClass" dynamic parameter as a Bean Property. Am sure these values are properly set coz to make sure I have put an h:output tag inside that table to display the customStyleClass values and they are getting set as expected but I see blank value for the class="" in the source of the Page.
    Any help would be appreciated.
    Thanks
    Edited by: Lalith on Jan 14, 2008 10:23 AM

    One option is you find the data element of that field GUID.
    Now go to SE11 transaction and in data type put that data element and press where used list. In that select tables.
    This will give you a list of tables where that field is used.
    But again if there are lots of them it will be difficult to find.
    The only option in that case is debug the extractor and find out.

  • Is there a selecting tool for doctoring specific portions of an image?

    In Photoshop I can use a select tool to outline the specific area I want to work on in a photo. Is there a similar tool in Aperture? I'm away from my own computer, no manual, and my client's Aperture help doesn't seem to respond.
    b

    Not like PS.
    There are plug-ins that allows for editing part of the image. But Ap will create tiff file and plug-in editor will do its thing them saved back into Ap as a version. Or you can simply specify PS(CS/PSE) as an external editor and do what you want to do also.

  • Possible to delete Offline Files content for a specific user from the Client Side Cache (CSC) ?.

    Hello Everyone,
    We would like to implement a script to delete the offline files in the Client Side Cache (CSC) for a nominated user (on Windows 7 x64 enterprise).
    I am aware that;
    1. We can use a registry value to flush the entire CNC cache (for all users) next time the machine reboots.
    2. If we delete the user's local profile it appears that Windows 7 also removes their content from the local CSC.
    However, we would like to just delete the CSC content for a particular nominated user without having to delete their local user profile.
    In our environment we have many users that share workstations but only use them occasionally. We don't use roaming profile so we would like to retain all the users' local profiles but still delete the CSC content for any users that haven't
    logged on in a week.
    Any ideas or info would be appreciated !
    Thanks, Makes

    Hi,
    I don't think this is possible.
    If you want to achieve it via script, I suggest you post it in official script forum for more professional help:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Karen Hu
    TechNet Community Support

  • Save for web&.... the image exceeds the size for ....issue with AI on imac i7

    Hi,
    I just upgraded from using macbook Pro to Imac inte core i7 with 4GB. I use illustrator CS3 for high resolution documents i.e saving a Design for say maybe saving for iphone &ipod skin; a quality jpg that is 1300px(width) by 2000px(height.
    General information
    The issue is I keep getting the pop up with:
    The image exceeds the size Save for Web was designed for. You may experience out of memory erros and slow performance. Are you sure you want to continue?
    I click yes, but get another pop up with:
    Could not complete this operation. The rastarized image exceeded the maximum bounds for save for web.
    And last weekend after NOT being able to save anything I went and bought 16GB memory thinking that this ussue would be solved, but nada.
    I have researched around here and google only to find about scratch disk: went to preferences then to plug-ins and scratch Disks -I seem NOT to get to the bottom of this at all.
    And this morning I was trying to create a pattern Design and could not even get the design on the color swatches as I have done before with macbook pro with 4GB -IT'S NOT FUN, because I am NOT doing it right. Do you care to help me out?
    Thanks a whole bunch in advance
    //VfromB

    Are you including a color profile?  What metadata are you including with it?
    How many pixels (h x v)?
    50 kb is not all that big.  Does your image have a lot of detail in it?  Content can affect final compressed size.
    -Noel

Maybe you are looking for