cnn for feature extraction

조회 수: 112(최근 30일)
Athulya N
Athulya N 2019년 12월 13일
답변: esther MUKOYA 2021년 1월 25일
i am doing project on image classification.i have converted image in R,G and B channels.now i need to extract features from each channel using cnn.how can i use cnn for feature extraction in image.

답변(2개)

Sourav Bairagya
Sourav Bairagya 2019년 12월 16일
As you have your RGB images ready, then you can define your custom convolutional neural network using 'dlNetwork' object and train it to extract features out of it.
For training you can leverage this link:
For extracting feature from the trained network, use 'predict' function. To know more about this leverage this link:

esther MUKOYA
esther MUKOYA 2021년 1월 25일
Kindly could you share on the method used to convert the images to RGB?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by