liutinglt / CE2P

214 stars 41 forks source link

LABELS GROUND TRUTH #10

Open eng100200 opened 5 years ago

eng100200 commented 5 years ago

@liuting I have a question,,,the label images used in CE2P has grayscale format,,,,and there are 20 classes,,is the label image is formed as single layer containing labels of all pixels belonging to one of the classes...For example consider a grayscale image with single layer with all K class labels as:

image is 10X10 (WXH): (Labels: 1 background, 2 head, 3 left arm, 4 body, 5 right arm, 6 left leg, 7 right leg, 8 left shoe, 9 right shoe) 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 1 1 1 1 3 3 4 4 4 4 5 5 5 3 3 3 4 4 4 4 5 5 5 3 3 4 4 4 4 4 4 5 5 1 1 4 4 4 4 4 4 5 5 1 1 6 6 6 1 1 7 7 7 1 1 6 6 6 1 1 1 7 7 1 1 1 6 6 1 1 1 7 7 1 1 8 1 1 1 1 1 9 9

is this the way the label image is formed? or it has 20 layers,,,one for each class?

eng100200 commented 5 years ago

@rantaimu do you about the GT labelling method?

liutinglt commented 5 years ago

@eng100200 the label map is a single channel image, in which each pixel is the label value ranged from 0 to 19. Please read the code more carefully.

eng100200 commented 5 years ago

@liutinglt can i have your email address. my email: sm_adnan21@hotmail.com

eng100200 commented 5 years ago

@liutinglt thank you for your reply