Krontalk

Chronos => Software Dev => Topic started by: foobar on June 07, 2019, 02:56:38 PM

Title: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: foobar on June 07, 2019, 02:56:38 PM
In this release we are making changes to improve the camera's image quality by addressing the vertical banding issue that some users have reported and adding some new features to the power controller to make unattended operation of the camera a little easier.

Note that this update will affect your camera's factory calibration, you should back up your factory calibration before applying this update if case you have to revert back to v0.3.1 at a later time.

    +----------------------------------+
   ++                                  ++
   |     Chronos V0.3.2 Changelog       |
   ++                                  ++
    +----------------------------------+


Notable Changes:

Minutae:

Fixed Bugs:

Known Issues:

Updating Your Camera:
Title: Re: Chronos V0.3.2 Beta
Post by: foobar on June 07, 2019, 03:19:30 PM
Because this update includes some major changes to the calibration routines of the camera, for the best results we recommend re-generating your factory calibration after applying the update. You can do this by navigating to the factory screen and tapping the "Black Calibrate All Resolutions" button.

This procedure should be performed only once the camera has warmed up to its normal operating temperature, and the lens or body cap is in place.

Title: Re: Chronos V0.3.2 Beta
Post by: nik282000 on June 08, 2019, 09:17:47 AM
Update was easy enough and I like the new storage Tab in the utilities.

Black cal at 1x works well but with any more than that I get significantly more banding than 0.3.1 at higher frame-rates. I'll keep poking around to see if anything I do can make it better or worse. I have also noticed that there is some flickering, at higher gain is is more visible but it can be seen at 1x as well.

I also had "No Batt" after the first restart but that has gone away, not really worried about it.

Sorry for all the negative feedback but I am still impressed at the work that is going into the 1.4 and I am glad you guys are still working towards more features!
Title: Re: Chronos V0.3.2 Beta
Post by: foobar on June 08, 2019, 11:07:16 AM
Can you attach some images to show us what the banding looks like at higher gains and framerates? Does the banding appear to change either for better or for worse after attempting a black cal at those settings?
Title: Re: Chronos V0.3.2 Beta
Post by: nik282000 on June 08, 2019, 01:28:02 PM
I'm going to restore a known good version then try the update again. If I get the same results I'll make some example files for you.
Title: Re: Chronos V0.3.2 Beta
Post by: NiNeff on June 08, 2019, 02:37:12 PM
Wow, almost 5% speed increase at the lower resolution. And it just feels good to be able to say "it does 40k FPS" instead of "roughly 40k FPS" ;)
Will test the new software soon-ish.
Title: Re: Chronos V0.3.2 Beta
Post by: nik282000 on June 08, 2019, 05:39:00 PM
Ran the camera on an older version and everything looked fine, updated and found the same black calibration issues, so here's what I found.

#0 It only happens at frame rates above ~27kFPS
#1 It gets 10x worse at 4x analog gain, at 1x and 2x the image is pretty good. At 16x I get only gibberish for an image.
#2 The flickering seems to be related, it is most apparent when the vertical banding is present. I haven't measured the period of the flicker yet to see if it is the same at every resolution/fps.

Below I have attached 4 images taken at the 320x96 40420.4fps 20.08us 4x analog gain (worst case scenario but the effect is very similar down to ~27Kfps. I let the camera warm up (it seems to do that a lot faster now, the fan ran at full speed since the update) before taking the images. I had to convert them to PNG because the forum didn't like .TIFF files made by the camera.

0th image is taken before doing a black cal and before doing the factory cal.
1st image is after a black cal but before the factory cal
2nd image is after the factory cal but before doing new black cal
3rd image is after the factory cal and after a black cal

Hopefully this is helpful.
Title: Re: Chronos V0.3.2 Beta
Post by: foobar on June 10, 2019, 12:10:00 PM
Thank you so much, that does clearly demonstrate an issue with the new calibration routines when operating at high gains. I've been able to reproduce the problem and I'll be looking into it.
Title: Re: Chronos V0.3.2 Beta
Post by: nik282000 on June 10, 2019, 04:27:02 PM
Awesome, glad I could help!
Title: Re: Chronos V0.3.2 Beta
Post by: Buddlich on June 11, 2019, 12:09:23 PM
40.000 FPS ... awesome how far the camera has come.



... from 21.500 max :D


PS: I also have those problems with the flickering even after black cal. with the higher frame rates.
Also the fan seems to go crazy and goes full power from the first second on...
Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: foobar on June 25, 2019, 03:28:33 PM
Thanks for the testing and feedback everyone. I have updated this thread with an updated build of the beta software. Please see the first post for a link to the camUpdate-v0.3.2-beta-6-gd0ce2a6.zip installer package. As a brief description of what has changed since the beta-1 backage:

Notable Features:
 - Reverted to two-point (linear) gain correction. After further testing the 3-point correction just seems to cause problems at the more aggressive gain settings.

Minutae:
 - Add a watchdog to reboot the camera in case of power-on boot failure.

Fixed Bugs:
 - Memory leak in the M3 video coprocessor which could lead to a crash after lots of H.264 encoding.
 - Ignore video which was recorded during black calibration.
 - Changes to exposure may be overwritten during black calibration.
Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: NiNeff on July 06, 2019, 02:16:22 AM
Sorry for the delayed test, but here are my findings (just to be safe I let the cam warm up and did black calibration for all resolutions)

- in 0.3.2 b6 i now have vertical bands for the first time, never had them in any version up to 0.3.1 (images available on request).
- lowering the framerate while keeping the resolution the same dramatically increases the noise level. I'm not sure if this was always the case, but it seems new. I experienced this after doing a black cal on 1069 fps and with the lenscap still on then changing to 1000 fps.
- changing the shutterangle sometimes leads to horizontal bands on the display, haven't tried recording while changing the shutter yet.
- I really like the new util screen, especially for the storage!
- also had the full power fan on the first boot, now it seems to behave normally.
Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: foobar on July 07, 2019, 07:13:34 PM
Do the vertical bands and the increased noise level issues persist after performing a black calibration? Note that changing the framerate will cause a change in frame timing that may invalidate the black calibration. In particular, framerates above 1053fps at 1280x1024 will need a different black calibration from framerates below 1053fps.

As for the horizontal lines; There is a horizontal artifact that appears in the raw image that corresponds to timing of where the shutter signal changes relative to the frame readout. The line of the image where this occurs is normally corrected by the black calibration. However, if the shutter is changed after black calibration then the calibration data will no longer correct for this artifact. The result is that you will see one or two horizontal lines on the image that will persist until a new black calibration is performed. This issue has existed in all previous software releases of the Chronos.

Another possible cause of horizontal lines that we are aware of when changing the shutter from the main window. If the shutter is changed in the middle of a frame it can result in a change in brightness partway through the image and this appears as bright flashes while changing shutter. However the issue should not persist for longer than a single frame.
Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: NiNeff on July 08, 2019, 10:50:05 AM
Do the vertical bands and the increased noise level issues persist after performing a black calibration? Note that changing the framerate will cause a change in frame timing that may invalidate the black calibration. In particular, framerates above 1053fps at 1280x1024 will need a different black calibration from framerates below 1053fps.
They mostly disappear after back calibration, and I'm now actually unable to reproduce the really noticeable ones I got on the first tests. Maybe doting several black calibs helped.
As for the horizontal lines; There is a horizontal artifact that appears in the raw image that corresponds to timing of where the shutter signal changes relative to the frame readout. The line of the image where this occurs is normally corrected by the black calibration. However, if the shutter is changed after black calibration then the calibration data will no longer correct for this artifact. The result is that you will see one or two horizontal lines on the image that will persist until a new black calibration is performed. This issue has existed in all previous software releases of the Chronos.
Not really a problem though as I'm not intending to change the shutter during recording.
Another possible cause of horizontal lines that we are aware of when changing the shutter from the main window. If the shutter is changed in the middle of a frame it can result in a change in brightness partway through the image and this appears as bright flashes while changing shutter. However the issue should not persist for longer than a single frame.
While testing I never got bright flashes but sometimes completely black horizontal bands in the recording, but again understandable and not really an issue for "reasonable" usage. If i ever need to change the shutter during recordings it might be also achieved by changing the aperture and so on.

Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: CR0M3 on July 09, 2019, 08:32:53 AM
Stuck Previewpicture. (Record > Play > Close > Profit) (http://hallo1250.de/Icons/ugly.gif)
Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: NiNeff on August 30, 2019, 05:36:12 AM
I just noticed a significant lag on the screen update if the overexposure-warning stripes are shown. It appears to drop down to single digit FPS and takes a few seconds to recover even after the bright spot is gone. I noticed this after the screen upgrade, but they can't possibly be related. I have not tried yet if recording is somehow affected.
If needed i can provide a video of the "slowdown" happening.
Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: skronstein on August 30, 2019, 01:55:17 PM
I just noticed a significant lag on the screen update if the overexposure-warning stripes are shown. It appears to drop down to single digit FPS and takes a few seconds to recover even after the bright spot is gone. I noticed this after the screen upgrade, but they can't possibly be related. I have not tried yet if recording is somehow affected.
If needed i can provide a video of the "slowdown" happening.

Does this still happen on v0.3.2-RC1? This and other bugs were fixed in that version: Stuttering issue on the playback window on new production LCD modules.
The RC1 topic is here: http://forum.krontech.ca/index.php?topic=488.0
Title: Re: Chronos V0.3.2 Beta - Updated June 25th 2019 with beta-6
Post by: NiNeff on August 31, 2019, 12:37:46 AM
I just noticed a significant lag on the screen update if the overexposure-warning stripes are shown. It appears to drop down to single digit FPS and takes a few seconds to recover even after the bright spot is gone. I noticed this after the screen upgrade, but they can't possibly be related. I have not tried yet if recording is somehow affected.
If needed i can provide a video of the "slowdown" happening.

Does this still happen on v0.3.2-RC1? This and other bugs were fixed in that version: Stuttering issue on the playback window on new production LCD modules.
The RC1 topic is here: http://forum.krontech.ca/index.php?topic=488.0
Yes I'm on 0.3.2-RC1, I accidentally posted to the wrong thread. I will mention it there as well.