This class implements a layer that extracts a set of pixel sequences along the specified coordinates from a set of two-dimensional images.
There are no settings for this layer.
This layer has no trainable parameters.
The layer has two inputs.
The first input accepts a blob with a set of two-dimensional images:
BatchLengthis equal to1BatchWidthis the number of sequences in the setListSizeis equal to1Heightis the images' heightWidthis the images' widthDepthis equal to1Channelsis the number of channels the image format uses
The second input accepts a blob with int data that contains lists of pixel coordinates, of the dimensions:
BatchWidthis equal to the first inputBatchWidthChannelsis the length of each sequence- all other dimensions are equal to
1
The coordinates of a pixel (col, row) are represented in this blob by a single integer number equal to row * GetImageWidth() + col.
The single output returns a blob with the pixel sequences:
BatchLengthis equal to1BatchWidthequals the inputs'BatchWidthListSizeequals the second inputListSizeHeight,Width, andDepthare equal to1Channelsis equal to the first inputChannels
The blob contains the pixel sequences taken from the images of the first input using the coordinates from the second input.