The difference between 1D, 2D and 3D convolution lies in the dimensions of the data and the type of patterns extracted:
• 1D convolution: used for one-dimensional data such as time series or text; the filter moves along a single axis to extract sequential patterns.
• 2D convolution: the most common, used with images; the filter moves in two dimensions (width × height) to detect spatial patterns such as edges and shapes.
• 3D convolution: used with three-dimensional data such as videos or medical images (MRI, CT); the filter moves across length × width × depth to extract spatial and temporal patterns together.
• 1D is for sequential data, 2D for images, and 3D for video and volumetric data.
