How can we give an hyperspectral image input vector of size 5X5X128 to convolutional neural network for Hyperspectral image classification in MATLAB?
Hi,
In this case, you can applied the 3-D Convolutional Neural Netwok (3-D CNN) in order to preserve the spatial and spectral dimensions of HSI (pixels neighbors and number of bands). Therefore, you can use the mdCNN MATLAB toolbox.
https://fr.mathworks.com/matlabcentral/fileexchange/58447-hagaygarty-mdcnn
You can use this code based on this toolbox:
%%%%%%%%%%%%%%%%%%%%% Input Setting%%%%%%%%%%
net.hyperParam.sizeFmInput = [5 5 128]; % size of input feature map
net.hyperParam.numFmInput = 1; % number of feature map of the input
%%%%%%%%%%%%%%%%%%%%% Layers specification %%%%%%%%%%
net.layers{end+1}.properties = struct('type',2,'numFm',7 , 'Activation',@Relu, 'dActivation',@dRelu,'kernel',5,'pad',2, 'stride', [2 2 4], 'pooling', [1 1 1]);
net.layers{end+1}.properties = struct('type',2,'numFm',17 , 'kernel',[5 5 3] ,'pad',[1 1 0], 'pooling', [1 1 1] , 'dropOut' ,0.8);
net.layers{end+1}.properties = struct('type',1,'numFm',128);
net.layers{end+1}.properties = struct('type',1,'numFm',10);
First create a network using a config file
net = CreateNet('HSI_classify.conf');
Then, call ‘Train’ function with the dataset containing the train/test samples:
net = Train(HSI,net, 3000);
Here , HSI is the dataset , this will train for 3000 samples from the test set .
GOOD LUCK
This publications may help
Chapter Spectral Reflectance Images and Applications
Article Spectral imaging method for material classification and insp...
Which solution reveals the microstructure and features of nickel-based alloys?
02 March 2021 2,221 3 View
Which tools can be used to generate machine codes for additive manufacturing?
02 March 2021 7,220 2 View
I am searching for a good place for the Post Doc,
02 March 2021 4,053 3 View
Working on chandrayaan-2 DFSAR data, there are three datasets available: 1) Slant range image data product: The slant range complex image file. Each pixel is represented by two 4-byte floating...
02 March 2021 8,481 3 View
Hello, The Cranet website does not provide any lead to the data obtained from their multinational survey on HRM practices. Any help on accessing the data would be most appreciated. Thank...
01 March 2021 9,536 3 View
I personally feel this as a most confusing question. As per my understanding, if sample size is > 30, and sample is skewed, we can still use paramteric approach, as it will follow Z...
01 March 2021 1,587 6 View
Is there any book chapter/book, webpage or research article available to understand genome-wide gene identification?
28 February 2021 8,095 1 View
For an overfit data set the cross validation error will be much bigger than the training error. Is it true or false?
23 February 2021 3,616 2 View
In my opinion, the RG site is useful in solving scientific problems and shows the researcher's ability. Besides, the separation of the H-index from the self-citations and the overall index is an...
22 February 2021 3,894 6 View
I performed a Proton NMR of graphene powder prepared by electrochemical exfoliation technique. It shows some peaks. But I can't understand it.
21 February 2021 8,947 3 View
I'm targeting to deploy a mesh network and manually configure MANET routing protocols. I'm preparing scenarios, architectures, and hard devices needed to do that. Are there some step-by-step...
03 March 2021 1,931 5 View
I have selected brain tumor images ...but now found that already lots of research done n this topic.
03 March 2021 5,774 3 View
Is it possible to induce site-directed substitution mutation by quick-change method on linear dsDNA? or it has to be cloned in some vector? If yes, should it be treated with the Dpn1 enzyme...
03 March 2021 401 4 View
i am try to classify the x-ray images. During classification , can i block unwanted images (except x-ray image).
03 March 2021 7,100 1 View
Need to image mesoporous silica nanoparticles using the TEM. Also, need high resolution TEM images to see the mesoporous structure. Kindly suggest what kind of grids to use. Thanks, Shatadru
02 March 2021 1,787 2 View
Dear Colleagues, After running Western blot on PVDF membrane and detection using ECL, I would like to stain my PVDF with colloidal gold to be able to allign the ECL image with total proteins on...
02 March 2021 7,829 3 View
Is there a powerful system for the security of the systems distributed on IoT systems?
02 March 2021 3,858 10 View
I would like to research on MR images (0.5T and 3T). Can you please suggest some websites that I can download dataset including both 0.5T and 3T MR images? Thank you.
02 March 2021 7,735 3 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
Hello, I have classified 10 S3 OLCI images from the same area (althouth not the same size and/or quadrant) and I would like to do a final image using the mode of the pixel of these 10 images. I...
01 March 2021 9,874 3 View