Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Categorizing lines on a shirt

TASK

I am interested in detection of texture on a shirt i.e. whether there are -

  1. Both Horizontal and vertical lines
  2. Only Horizontal lines
  3. Only Vertical lines
  4. Neither Horizontal nor Vertical

My images are as under -

Category 1 : Both horizontal and vertical lines

image description image description image description

Category 2 : Only Horizontal

image description image description

Category 3 : Only Vertical

image description image description

Category 4 : Neither Vertical nor Horizontal

image description image description

Methods I have tried

I have tried -

  1. Hough Lines -- A single line is broken into multiple lines. Results, were poor.
  2. Feature Extraction -- I extracted keypoints using SIFT and SURF and tried to check their orientation, could not find any pattern.
  3. Edge Detection -- I tried using Sobel Edge Detection, both in horizontal and vertical direction but could not figure out how to use that data.

QUESTION

How should I approach this task? What image processing algorithms should I use? How can I use the available OpenCV functionality?

Categorizing lines on a shirt

TASK

I am interested in detection of texture on a shirt i.e. whether there are -

  1. Both Horizontal and vertical lines
  2. Only Horizontal lines
  3. Only Vertical lines
  4. Neither Horizontal nor Vertical

My images are as under -

Category 1 : Both horizontal and vertical lines

image description image description image description

Category 2 : Only Horizontal

image description image description

Category 3 : Only Vertical

image description image description

Category 4 : Neither Vertical nor Horizontal

image description image description

Methods I have tried

I have tried -

  1. Hough Lines -- A single line is broken into multiple lines. Results, were poor.
  2. Feature Extraction -- I extracted keypoints using SIFT and SURF and tried to check their orientation, could not find any pattern.
  3. Edge Detection -- I tried using Sobel Edge Detection, both in horizontal and vertical direction but could not figure out how to use that data.

QUESTION

How should I approach this task? What image processing algorithms should I use? How can I use the available OpenCV functionality?

Categorizing lines on a shirt

TASK

I am interested in detection of texture on a shirt i.e. whether there are -

  1. Both Horizontal and vertical lines
  2. Only Horizontal lines
  3. Only Vertical lines
  4. Neither Horizontal nor Vertical

My images are as under -

Category 1 : Both horizontal and vertical lines

image description image description image description

Category 2 : Only Horizontal

image description image description

Category 3 : Only Vertical

image description image description

Category 4 : Neither Vertical nor Horizontal

image description image description

Methods I have tried

I have tried -

  1. Hough Lines -- A single line is broken into multiple lines. Results, were poor.
  2. Feature Extraction -- I extracted keypoints using SIFT and SURF and tried to check their orientation, could not find any pattern.
  3. Edge Detection -- I tried using Sobel Edge Detection, both in horizontal and vertical direction but could not figure out how to use that data.

QUESTION

How should I approach this task? What image processing algorithms should I use? How can I use the available OpenCV functionality?