How to label an RBG image consisting of 8 bits/ data points and each point represents a certain power value to use the image as an input to CNN for forecasting
3 次查看(过去 30 天)
显示 更早的评论
I have a set of power values recorded each hour, then created RGB images of those power values so each image represents 8 hours. The image attached represents 8 different power values (since each hour represents a single power value). I want to use those images as an input to CNN, but don't know how to because I can't label the image.
How can I label the images so I use them as an input to the CNN? Is there a code to do that on MATLAB?
8 个评论
Pratham Shah
2023-4-5
Hi Danya,
I have few questions regarding your problem statement.
1- What kid of labels you want to give to your image?
2- As you said, you want to predict the future power value; which parameter are you going to give in the ML model for prediction?
3- If your model is going to predict the power value based on some numerical data, can't you use regression technique? Means is it necessary to use CNN?
回答(1 个)
Shreeya
2023-8-25
编辑:Shreeya
2023-8-25
Hello Danya
To my understanding, you want to forecast power outputs represented as RGB values. Instead of labelling the dataset, you can use LSTMs since they are best suited for forecasting. A possible solution is:
- Using a CNN Network to extract the essential image features and output a 1D vector, followed by an LSTM network.
- Image Regeneration using Up Convolution method.
- Segment the image vertically in 8 parts to predict the power values based on the colour gradient.
You can refer to the LSTM, CNN and up convolution documentations linked below respectively.
Hope this helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!