0

enter image description here

I want to remove edges from this image. I am interested in removing border from this picture. Can anybody please help me?

Prasad
  • 1,188
  • 3
  • 11
  • 29
  • 2
    We aren't here to do your homework. What have you tried? – BackSlash Apr 10 '13 at 09:51
  • 2
    If your requirement is for that picture only, then use MS Paint or use Photoshop. – Mawia Apr 10 '13 at 09:52
  • I want to get some idea from u people. I have tried Roberts algorithm but it is not helping me. – Prasad Apr 10 '13 at 09:57
  • Any link to "Roberts Algorithm"? Do youmean Robert Sedgewick? What exact problem do you have? Loading the image, decompression, navigating the bytes? Any help can only come with more info on the problem. – wmorrison365 Apr 10 '13 at 10:03
  • @wmorrison365 http://www.inf.ufpr.br/danielw/pos/ci724/20102/HIPR2/flatjavasrc/Roberts.java I have tried this algorithm. I have performed histogram equalization on original image and after that i have performed edge detection on it and after that I've got the attached image. Now I want to remove the white circular border of this image. – Prasad Apr 10 '13 at 10:38

1 Answers1

1

not really an answer but i can lead you towards the right direction I dont know whether this is a small or big requirement for you , but doing this in java requires some research area . I think you have to study DIGITAL IMAGE PROCESSING IN JAVA this [link][1]

[1]: http://www.imagingbook.com/ might be helpful

the possible solution which i tried once and worked up to some limit for me step 1 : create bufferedImage from your current image step 2 : iterate the image buffer matrix pixel by pixel step 3 : apply any edge detection algorithm step 4 : after having detected the edge , replace the color pixels from the pixels existing inside the border shape

to apply this edge detection java has some inbuilt library for "Gaussian filter" and some more filters like that

, if this is any sort of help to you , then i will be posting some more of my work , let me know if you need any explanation .

  • I have performed histogram equalization on original image and after that i have performed edge detection on it and after that I've got the attached image. Now I want to remove the white circular border of this image. – Prasad Apr 10 '13 at 10:07
  • ohk , since you are are on the right track , and i also have done also similar level of work , so cant be promising any further in my comment , but i'll try to figure something out for you and will let you know – Hussain Akhtar Wahid 'Ghouri' Apr 10 '13 at 10:30
  • I want to make it asap. So quick help will be appreciated. :) – Prasad Apr 10 '13 at 10:33
  • @Prasad Pofali: FYI: Have you seen this post? [how to remove a border with an unknown width from an image](http://stackoverflow.com/questions/12253739/how-to-remove-a-border-with-an-unknown-width-from-an-image?rq=1) – wmorrison365 Apr 10 '13 at 13:44
  • @wmorrison365 yep i hv seen this post bt it is dealing only with removal of square border and not with circular border. – Prasad Apr 11 '13 at 07:06
  • @Prasad Pofali - Ok. This is the sort of information you should put in your original question though. I did edit the question yesterday to furnish it with the extra info you provided me with. However my edit apparently needed to be peer-reviewed and has not been included so far for some reason. I suggest you add these extra titbits that you've put as individual comments into the original question. That would probably have prevented it being closed. – wmorrison365 Apr 11 '13 at 08:15
  • Thank you all for helping me on this topic. I have solved this problem with some functions provided by "Java". So my problem is solved. – Prasad Apr 30 '13 at 11:35