필터 지우기
필터 지우기

how to have only required pixels?

조회 수: 1 (최근 30일)
jagannath mishra
jagannath mishra 2013년 4월 24일
sir ,i have taken a rainy image and i use the clustering method .by using this i could able to have two types of clusters one is "background cluster" and another is "rain streak cluster". now i only want to have the rain streak clusters,so that i can go for my rest work.is there any " matlab code" for this situation or how can i do that? thanks in advance.
  댓글 수: 5
jagannath mishra
jagannath mishra 2013년 4월 30일
편집: jagannath mishra 2013년 5월 1일
basically what information do you want,i can't understand.
jagannath mishra
jagannath mishra 2013년 5월 1일
why u don't reply jan Simon

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2013년 4월 30일
What does remove mean? So far, after your clustering algorithm, you have a binary image: 0 is background and 1 is rain. So someone might consider that binary image to already be the "background-removed" image. If you want just the rain pixels in a big long 1-D list, you could do this:
rainPixels = grayImage(binaryImage);
which might be useful, for example, if you wanted a histogram of only the rain pixels.
  댓글 수: 8
jagannath mishra
jagannath mishra 2013년 5월 2일
when i use this it shows like ;"Name=f,Size=336*497*3,Bytes=500976,Class=unit8,Attributes=(nothing written)".And yes i use the KMean clustering method.this is the url for original image"http://tinypic.com/r/n4z5uu/5",and this is for the clustered image"http://tinypic.com/r/2zhnu6u/5".i hope this may help you to clear my doubt.if you still need to see the programe i can share that also.
jagannath mishra
jagannath mishra 2013년 5월 3일
what happened sir?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by