Just look at the mean value
meanValue = mean(rgbImage(:));
If you see an abrupt change in that value from one frame to the next, it could indicate a scene change.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!