Community Profile

photo

Tan Wen Kun


Active since 2015

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to superimpose a segment image to original image?
segment=imread('1.1.jpg'); original=imread('1.jpg'); I using superimpose=imfuse(segment,original); but it cant work...

8 years ago | 0 answers | 0

0

answers

Question


How to sum out all the 1 in the bw image?
I got 280x424x3 logical image. I want to sum out all the 1 in the image. How to do it? I want to know how many pixel insid...

8 years ago | 2 answers | 0

2

answers

Question


How to compare the pixel of two image?
How to turn the image into pure 0(white) and 1(black) ? After turn into pure 0 and 1, how I sum the image so I can get total ...

8 years ago | 1 answer | 0

1

answer

Question


how to get region of interest and calculate the hit rate and precision rate?
How to draw out the total object pixel of interest region in an image? I want calculate the hit rate= correct pixel deteced/t...

8 years ago | 1 answer | 0

1

answer

Question


How to reassign the label?
I got a table which show table = label 1 2 3 4 5 6 7 8 9 value 1 2 2 2 5 6 7 5 5 matrix = 1 1 1 1...

8 years ago | 1 answer | 0

1

answer

Question


How to compare value for two variable?
matrix= 1 1 2 2 1 1 2 2 1 1 2 2 I got a matrix that store label 1 and 2 have mean value meanR(1)...

8 years ago | 1 answer | 0

1

answer

Question


How to compare two matrix?
redChannel = IM(:, :, 1); greenChannel = IM(:, :, 2); blueChannel = IM(:, :, 3); for yourNumber = 1 : max(labelim...

8 years ago | 2 answers | 0

2

answers

Question


How to count the average rgb value of label region from original image?
I have a label matrix image and label 1 is the border labelimg = original image rgb= 1 ...

8 years ago | 1 answer | 0

1

answer

Question


how to clear the border of matrix?
I have a label image matrix img= 1 1 1 2 2 2 3 3 3 3 1 2 2 2 9 3 3 3 3 3 1 1 9 9 9 9 9 9 3 3 ...

8 years ago | 2 answers | 0

2

answers

Question


How to find neighbor matrix?
This is some code i write: for i=1:h %h=height of the image for j=1:w %w=width of image if (i,j)==1 %1 i...

8 years ago | 1 answer | 0

1

answer

Question


How to convert 3D matrix to 1D?
I got a color image and store into a variable A. A = (22,10,10) (22,10,10) (39,40,50) (89,11,14) (23,11,11) (99,10,10) ...

8 years ago | 2 answers | 0

2

answers

Question


How to create a linkage between different blob?
For example I using watershed and get different color piece. I want to create a matrix to show the linkage. 1 1 1 1 1 1 ...

8 years ago | 1 answer | 0

1

answer

Question


how to merge two different blob?
I got 3 color blob(1,2,3). Firstly, I want to write a loop to create a table which state which blob is connected with another...

8 years ago | 1 answer | 0

1

answer

Question


how do get a color region?
I want to get something like like apple.jpg without using watershed. How to get the color piece after I done edge detection,...

8 years ago | 1 answer | 0

1

answer

Question


How to remove unwanted small blob?
I want to remove the small blob and only keep the largest connected blob. How can I do it?

8 years ago | 1 answer | 0

1

answer

Question


how to connect the label region?how regionprops work?
a = imread('apple.jpg'); b = rgb2gray(a); BW = edge(b,'canny'); L = bwlabel(BW); s = regionprops(B...

8 years ago | 1 answer | 0

1

answer