Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mtrovato

Pages: [1]
1
Chronos User Discussion / Re: Unbalanced colors in .dng, .mp4 files
« on: April 14, 2022, 10:42:18 AM »

 Can you explain whatever is happening there? I on the other Hand probably know less about code than you about Editing Software, but just from looking at it, is this basically just some kind of Color Space Conversion from HSV Color Space to RGB Color Space or something? If that seems To fix the Problem you are having, that might be a clue to what is wrong in the Color Science of the Camera? would be worth looking into at least, i guess.
 Thanks however for Sharing anyways, even though i have no clue at all of what i am looking at.


Sure I can. Basically I am retrieving the brightness from the HSV color space of the photo, multiply by 5 (eyeballed value to get similar results if compared to shotwell output) and save the modify image.  I have done something similar in DaVinci Resolve: I have reduce the brightness range in the Colors/Curves - Custom and I get nice results (see Keys.mov in the same folder)


I am bit puzzled by your answer though, as it seems that my camera may have issues.  As far as I understand from this thread prior to your last answer is that LUTs are needed to correctly view .dng/.mp4 files. This is not a bug in the camera but rather a compatibility issue between the camera and the offline software (shotwell/DaVinci, etc...). Also live videos/photos appear very nice on the camera screen

2
Chronos User Discussion / Re: Unbalanced colors in .dng, .mp4 files
« on: April 14, 2022, 08:06:53 AM »
Thanks. I have no experience with DaVinci Resolve or similar softwares but I will dig into it. In any case I gather from your answer that indeed an offline correction (LUT) is needed

Meanwhile I was able to adjust the photo brightness and achieve similar results as shotwell by the simple script below

import cv2
import numpy as np

def change_brightness(img, value=30):
    hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
    h, s, v = cv2.split(hsv)                                                                                                                                                       
    v = cv2.multiply(v,value)
    v[v > 255] = 255
    v[v < 0] = 0
    final_hsv = cv2.merge((h, s, v))
    img = cv2.cvtColor(final_hsv, cv2.COLOR_HSV2BGR)
    return img


img = cv2.imread('./frame_notadjusted.jpg')                                                                                                                                       
img = change_brightness(img, value=5)                                                                                                                         
cv2.imwrite('ColorAdjusted_py.jpg', img)

3
Chronos User Discussion / Unbalanced colors in .dng, .mp4 files
« on: April 12, 2022, 01:26:43 PM »
Dear all,

images look nice when viewing from the camera. However, the colors of .dng (and .mp4) files are completely unbalanced when opening them offline with editors like preview (macOs) or shotwell (centos7). After adjusting the colors images look decent. See an example here:  https://anl.box.com/s/r0z9z2a5hczfgywobr0ekr3kkoa5wtfo

Is the color profile embedded in .dng and .mp4 files? If so, which software should I use to open them? I am guessing that it is a problem of software interpretation

Thanks
Best,
Marco

4
Chronos User Discussion / Re: Saving to Network Storage (NFS)
« on: April 12, 2022, 12:48:39 PM »
I have connected the camera and my desktop through a router and the NFS share works perfectly . Let me share what I have so others may benefit from this thread.

- Host: laptop with centos7

ifconfig [network] [192.168.0.XXX] netmask 255.255.255.0
followed server instructions in https://www.howtoforge.com/nfs-server-and-client-on-centos-7 . Among other things I have created shared dir /dir

- Client: Chronos Camera 2.1

Utils -> Network -> NFS Network Storage
Address: 192.168.0.XXX
Mount: /dir

Test and Apply

Thanks for your help
Best,
Marco

5
Chronos User Discussion / Re: Saving to Network Storage (NFS)
« on: April 12, 2022, 06:59:16 AM »
There are also these Forum Posts / Threads, which one off is still on a pretty dated Firmware version, and both seem to use Some Linux OS, from flying over it very quickly. But maybe you can get some information out of there, or if not send a Personal Message to anyone in there, that got it to work aparently.
 https://forum.krontech.ca/index.php?topic=567.0
 https://forum.krontech.ca/index.php?topic=561.0


I have done exactly what is in the first link and I didn't suceed to establish the connection. I will try it again and, if not successful, send a PM to gcp5017, who seems to have succeeded.
I haven't tried SMB but that is definitely another option.
I will keep you posted.
Thanks

6
Chronos User Discussion / Saving to Network Storage (NFS)
« on: April 11, 2022, 11:28:35 AM »
Hi all,

I am using a Chronos 2.1-HD High Speed Camera. I followed instructions in https://www.krontech.ca/wp-content/uploads/2021/09/Network-Control-v0.6.5-1.pdf and, when connecting my computer with an ethernet cable, I have access to the camera via the assigned IP. However, I donít know how to save the footage over the network via NFS protocol. In page 29-30 of the manual (https://www.krontech.ca/wp-content/uploads/2021/09/RE-PDEV-10009-Chronos-User-Manual-Full-Software-Version-0.7.0.pdf) it is stated that step-by-step instructions are given in https://www.krontech.ca , but I have failed to find them. Can you please help?

Also notice that I can successfully share files between two laptops via NFS

Thanks
Best,
Marco

Pages: [1]