can we apply pca on 4D data
can we use OpenCv PCA function on 4D data (x,y,z,t)?
can we use OpenCv PCA function on 4D data (x,y,z,t)?
Asked: 2017-11-20 10:26:57 -0600
Seen: 670 times
Last updated: Nov 20 '17
MNIST and Local Binary Patterns
How to estimate the noiselevel of an image?
How to find a match between 2 shifted hue histograms?
Single Image Depth Map / Sharpness Map
How to match two images and find out mistakes
Remove buttons from their background so I can re-use button image
Image stitching from a live video stream
Which matcher is best for SURF?
Classification of object from a video/Image ( human, animals, others(cars etc.,))
I have not tried PCA with OpenCV, so I'm not certain if OpenCV accepts 4D input data. If it does not accept 4D data, you can always convert the 4D data to 3D data using Hopf mapping, or some other method.
That said, I can't see OpenCV not accepting 4D data, when 4D data types are built into the library (ie. Vec4f).
pca expects a 2d single channel matrix, where every feature of your dataset is a 1d row (e.g. a flattened 2d image).
again, please explain the nature of your 4d data, and what you want to achieve with the pca
My data is 4d (fmri 4d image) what I want to achieve with pca is to make dimension reduction
still, not enough information.
lets say i do MRI test and i want to know the active regions in the brain during that test. so it records the behavior of the brain till the end of the test. what i get from MRI test is a 4d data (3d image of the brain x time)so i do pre-processing on it using FSL tool to know where is the active regions in the brain and the output will be 4d data (3d brain with active regions x time). so now i need to extract the features using ICA but first i want to make dimension reduction with PCA.
thanks break for help. i got it now
your ICA works on 2d images, right ?
i don't know yet still want to learn more about ICA. but i think yes.