Increase contrast in geoscatter

2 views (last 30 days)
Hi, all.
I am using geoscatter to create a video, by concatenating many frames one after the other. When I create just a single image (the image at the bottom below), the background looks really nice, and the streets can be easily identified. However, when I run the video, the contrast of the background becomes much lighter, and the streets are hardly noticeable (the top image below). Do you know how can I fix this? I am not sure if it relates with how do I create the images, or how do I create the video. I am attaching the relevant code below. Thanks in advance
geoscatter(StopsToPlot(:,1),StopsToPlot(:,2),0.01,'y','s','filled')
hold on
for k=1:numel(Border)-1
O=NodesExtended(Border(k),:);
D=NodesExtended(Border(k+1),:);
geoplot([O(1),D(1)],[O(2),D(2)],'b');
end
geoscatter(StopsToPlot(:,1),StopsToPlot(:,2),0.01,'y','s','filled')
hold on
geoplot(EdgesToStop(1,1:2),EdgesToStop(1,3:4),'k');
for k=1:numel(Border)-1
O=NodesExtended(Border(k),:);
D=NodesExtended(Border(k+1),:);
geoplot([O(1),D(1)],[O(2),D(2)],'b');
end
geoscatter(BVeh(:,1),BVeh(:,2),50,[0.4940 0.1840 0.5560],'filled','d')
text(-33.4,-70.54,TextClock,'FontSize',20)
hold off
  3 Comments
Andres Salomon Fielbaum Schnitzler
Two relevant extra comments:
1) Increasing the quality of the video through v.quality does not change the solution significantly.
2) Using Quicktime instead of VLC to watch the video makes the solution to look much better. It still looks worse than the original image, and I would be very happy if I can enhance the video further, but it does look decent in Quicktime.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!