Zeno
Posts: 3
Joined: Tue Jan 14, 2014 4:56 pm

Raspistill image quality looks like rotation dependent

Tue Jan 14, 2014 5:08 pm

Since I had to mount the camera upside down, I have to use

Code: Select all

raspistill -rot 180
.

I was quite disappointed with the image quality (too dark), until I realised that this darkness was caused by the rotation itself.

After trying unsucessfully to make it lighter by playing with --brightness and --iso, I opted for taking a unrotated picture and then rotating it by Imagemagick, which unfortunately requires my script to run a little longer.

Did anybody else realised about this problem? Is this something which could be fixed in a newer version of raspistill?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspistill image quality looks like rotation dependent

Tue Jan 14, 2014 6:23 pm

That's weird. Do 90 and 270 show the same problem?

I'm trying to think of a possible reason this might go wrong, and so far I'm stumped.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Zeno
Posts: 3
Joined: Tue Jan 14, 2014 4:56 pm

Re: Raspistill image quality looks like rotation dependent

Thu Jan 16, 2014 10:50 am

Probably I have found the reason: this seems to happen only when using raspstill -t 1.
Now I left the default time delay and image qualities are the sames.

Strange anyway, I would have expected the quality to be indipendent from --rot.

Concerning the question from Jamesh: --rot 90 and 270 were less affected. --rot 180 was very dark (tolerable by daylight, but unusable by artificial light).

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Raspistill image quality looks like rotation dependent

Thu Jan 16, 2014 11:28 am

-t 1 is far too short
what does
-vf instead of --rot 180 appear like
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspistill image quality looks like rotation dependent

Thu Jan 16, 2014 11:35 am

OK, it's an exposure problem. As Rattus says, -t 1 is almost instant, so the system has not had time to get the exposure right. I think you need at least 500-750ms.

Why it's slightly different depending on rotation could be anything, but all bets are off with a -t that short.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Return to “Camera board”