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...
Can marketing stop the war ?
06 August 2024 3,661 11 View
The threshold voltage (Vth) of a MOS device plays a crucial role for its operation. At the same time, noise is an intrinsic factor. So how noise (flicker or thermal) change with the change in...
29 July 2024 3,246 0 View
If you don't understand my question let me know
21 July 2024 563 1 View
I am working on scale development in behavioral finance by undertaking a mixed-method approach using the exploratory sequential design. The phenomenon has diverse meanings in existing literature...
20 July 2024 9,153 11 View
I need to convert Available phosphorus into total phosphorus
18 July 2024 6,799 3 View
Hello, I am currently working with Malaria Pf/Pan nitrocellulose membranes coated for malaria detection. After drying the coated membranes in an Incubator (overnight at 37°C), I've noticed that...
16 July 2024 7,937 1 View
Bioinformatics tools like peptide cutter
15 July 2024 6,453 1 View
The burden of obesity is enormous. The greater challenge lies in accurately diagnosing obesity at the right time, reflecting the true increase in visceral fat. BMI may not accurately represent...
14 July 2024 8,771 4 View
How does high humidity affect the growth and development of crops?
10 July 2024 7,258 20 View
In what ways does high humidity impact the pollination process in agricultural plants?
10 July 2024 7,513 13 View
After immunohistochemistry of previously fixed in PFA and EtOH and then frozen 20 μm sections of zebrafish brain, DAPI staining is very weak (right) compared to the same sections stained without...
05 August 2024 9,637 2 View
Hi everyone I need a file with a dirty and clean potato image
04 August 2024 7,199 4 View
Dear Researchers I need to know, how to load and plot 2D-PIV (particle image velocimetry) recorded velocity vector field data in Tecplot? Thank You
02 August 2024 3,615 1 View
I fabricated Ti3C2Tx using concentrated HF 40%, I plot an XRD as attached image below.. please let to know if I obtained it or not.
02 August 2024 6,789 4 View
Dear All, I am trying to transfect a pCDNA3.1 vector containing my gene of interest. The purpose is to figure out the localization of the protein of interest. I have fused the protein with GFP on...
31 July 2024 9,892 4 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Dear researchers. I tried using the IHC PROFILER in image j to quantify nuclear DAB staining. I followed the instructions in the original article by "Varghese F, Bukhari AB, Malhotra R, De A...
29 July 2024 2,229 0 View
My question pertaining to the DAB staining in cytoplasm of human oral squamous cell carcinoma tissue. When quantifying the epithelial cancer cells do we have to crop remove the stromal tissue?...
29 July 2024 2,682 6 View
In my molecule there is Chloro group at 2-position of phenyl ring, but in 2D image it appears as methyl showing no interaction.
28 July 2024 734 0 View
Please, what is the memory consumption of the Matlab function quad tree decomposition procedure [S = qtdecomp(I)] with respect to the input set I?
27 July 2024 5,455 2 View