필터 지우기
필터 지우기

Hello, I would appreciate if someone helped me with converting a signal to an image to use the image as an input to CNN to do forecasting/prediction

조회 수: 2 (최근 30일)
I want to convert the signal which is the power generated by a turbine to an image so I can use the image as an input to CNN to do forecasting/prediction
  댓글 수: 2
Ojaswi
Ojaswi 2023년 3월 10일
In what format does this signal come in?
A grayscale image is just an array in which each element of the array contains an intensity value for a pixel. I imagine you can reshape your data into an array form and normalize to your expected range of values.
Danya
Danya 2023년 3월 10일
Thank you for your reply.
It is a time series signal stored in an excel sheet, would you be able to provide the functions in MATLAB to convert the signal to an image image?

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2023년 3월 10일

추가 답변 (1개)

nahed zemouri
nahed zemouri 2023년 6월 25일
you can use this function
XTrain= reshape(XTR, [size(XTR,1),1,1,size(XTR,2)]);
XTest= reshape(XTST, [size(XTST,1),1,1,size(XTST,2)]);
YTrain= reshape(YTR, [size(YTR,1),1,1,size(YTR,2)]);
YTest= reshape(YTST, [size(YTST,1),1,1,size(YTST,2)]);

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by