Questions tagged [subsampling]
116 questions
0
votes
3 answers
Resize an image to original size after sub sampling
I am subsampling an image using matlab. But I have a task to reset the subsampled image to original size. I have done it with nearest neighbour approximation and averaging adjacent pixels which is working fine.Is there any other algorithm to do…

indu
- 177
- 2
- 11
0
votes
1 answer
Sampling based on unique ID in r
I have 7500 messages, each with corresponding unique ID number. I have split up the messages into the seasons, and have have a block of messages for the seasons: winter 2013 ---- > spring 2014.
I wish to create a sample of 1000 messages that is…

WeakLearner
- 918
- 14
- 26
0
votes
1 answer
How does the UYVY (YUV 4:2:2, Y422, UYNV, HDYC) colour system handle odd pixel counts?
According to a reference that I've been reading, some planar YUV formats (e.g. UYVY) use macropixels which contain data for multiple pixels - specifically, in the case of UYVY, luma values per pixel and U and V samples for every other horizontal…

Polynomial
- 27,674
- 12
- 80
- 107
0
votes
2 answers
How to Sub-Sample Dataset
I'm going to implement svm(support vector machines) and various other classifying algorithms.
But my train dataset is of 10Gb. How can I sub-sample it ?
This is a very basic level question but I'm a beginner.
Thank for the help

Saurabh Saxena
- 11
- 2
0
votes
1 answer
Pandas - consecutive values must be different
I want to subsample rows of a dataframe such that all pairs of consecutive values in a given column are different, if 2 of them are the same, keep, say, the first one.
Here is an example
p = [1,1,2,1,3,3,2,4,3]
t = range(len(p))
df =…

Baron Yugovich
- 3,843
- 12
- 48
- 76
0
votes
0 answers
DO i have to apply activation function on Max value in Max pooling?
I am trying to implement convolutional neural network by Lecun. I have two questions.
1) Do i have to multiply activation function on the (max_value * weight_value) in the maxpooling layer.
2) if yes than in backpropagating the error as i…

khan
- 531
- 6
- 29
0
votes
3 answers
How to subsample a data frame based on a datetime column in R
I would like to subsample a data frame at hourly intervals from a datetime column, beginning with the time value in the first row of the data frame. My data frame runs at 10-minute intervals from the first to the last row. Example data is…

Emily
- 859
- 5
- 14
- 31
0
votes
1 answer
Sampling Data into two Groups
I am seeking help to make the code below efficient. I not satisfied though it works. There is bug to be fixed (currently irrelevant). I am using < random> header for the first time and stable_partition for first time.
The Problem…

Prasad
- 1,837
- 2
- 12
- 7
0
votes
1 answer
Prove that the equivalent number of bits per pixel for the YUV 4:2:0 scheme is 12
Prove that the equivalent number of bits per pixel for the YUV 4:2:0 scheme is 12

Osama Al-far
- 427
- 3
- 10
- 24
-1
votes
1 answer
Normal distributed sub-sampling from a numpy array in python
I have a numpy array whose values are distributed in the following manner
From this array I need to get a random sub-sample which is normally distributed.
I need to get rid of the values from the array which are above the red line in the picture.…

Sampath Kumar
- 165
- 2
- 10
-8
votes
2 answers
Error on findViewById - Subsampling Scale Image View - Android
I'm trying to test the code in this tutorial "Subsampling Scale Image View" to make a zoom image pinch, but it gives one error on .findViewById(id.imageView); - cannot resolve symbol..
My XML layout:

cafc
- 31
- 4
- 13