×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

CR2/NEF/ARW files required

Yeah, I'm considering options for approaching this issue. CR2/DNG/ARW cannot be subframed. It might be possible to open the file, convert to jpg, subframe, then upload, but that would take too much time as well. GPhoto driver already process all formats to FITS, and even if I wanted to display CR2 within FITSViewer, I'd have to use libraw to convert to JPG, then load it in FITSViewer and lose all the FITS header info that might be useful.

I'm thinking this: Use FITS for focus/guide/alignment and RAW for capture. What do you guys think?
The following user(s) said Thank You: giuseppe
7 years 3 months ago #13867

Please Log in or Create an account to join the conversation.

  • Posts: 474
  • Thank you received: 168
I guess it would be possible to modify dcraw or libraw to support decoding only a part of the full raw image (maybe at MCU granularity or something), which might speed things up downstream. Also support for the smaller raw formats could be useful for some cases and kind of emulate binning modes (for example Canon's sRAW is 1/4 size of the full image, mRAW is a more complex downsampling) and should be enough for alignment and probably also for focusing and guiding. Even switching to JPEG might be acceptable for those.
7 years 3 months ago #13868

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 2

Replied by giuseppe on topic CR2/NEF/ARW files required



This will be perfect for me if the selection FITS/ARW could be made automatically be ekos

You need ARW file again for your test?
7 years 3 months ago #13869

Please Log in or Create an account to join the conversation.


With libraw, you can decode a RAW file and then copy its data (or part of it), but then you'd have to save the subframe back as the original format (CR2/NEF..etc) which I don't think it's possible with libraw and even adds more overhead. Currently, after libraw decodes the RAW images, it is subframed if necessary and saved in FITS. libraw frames are always 16bit which might explain why its size is overall larger as some cameras are 10, 12, or 14 bits so it went for 16 to cover all.
7 years 3 months ago #13870

Please Log in or Create an account to join the conversation.

  • Posts: 474
  • Thank you received: 168

I dug a bit deeper and it seems lossless JPEG doesn't offer a handy boundary to do partial image decode like lossy JPEG does as MCU so that point is moot. Canon's CR2 is lossless JPEG encoded internally so the data is smaller compared to raw 14 bit (or 12 with some sensors) data, even though it does have JPEG previews and other metadata embedded.
7 years 3 months ago #13871

Please Log in or Create an account to join the conversation.


Yes it's good to have it here in case I need it for testing in the future.
The following user(s) said Thank You: giuseppe
7 years 3 months ago #13873

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 2

Replied by giuseppe on topic CR2/NEF/ARW files required

ok.

here is a ARW file of M45.

4256x2848
8.4 um pixel size
420mm focal length


File Attachment:

File Name: DSC00056.zip
File Size:11,580 KB
The following user(s) said Thank You: Jasem Mutlaq, Andrew
Last edit: 7 years 3 months ago by giuseppe.
7 years 3 months ago #13875
Attachments:

Please Log in or Create an account to join the conversation.

Ok it's done. It should switch to FITS when doing focus/align/guide and use FITS or Native (depending on your selection in Ekos options) when doing capture.
The following user(s) said Thank You: Hellriegel, giuseppe
7 years 3 months ago #13903

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 2

Replied by giuseppe on topic CR2/NEF/ARW files required

Hi Jasem,

i tried but now the files saved in capture module are always fits(i changed fits and native in indi control panel but the files saved are always fits).

Log files attached (see last file).
7 years 3 months ago #13921
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
If you still need any files, I have probably hundreds of raw cr2 files. They are taken with various cameras, various scopes, and various objects. Do you still need any?

Canon Cameras: Canon XSi, Canon 60D
Scopes/Lenses: 12 inch f/4 Newt, 10 inch f/6 Newt, 6 inch f/4 Newt, Rokinon 85 mm Lens, Tamron 18-270 mm Lens, and Canon 10-18 mm Lens
7 years 3 months ago #13928

Please Log in or Create an account to join the conversation.


You need to change settings in KStars Options --> Ekos --> Capture --> DSLR Format
The following user(s) said Thank You: giuseppe
7 years 3 months ago #13929

Please Log in or Create an account to join the conversation.


Nothing required at this moment, thanks!!
7 years 3 months ago #13930

Please Log in or Create an account to join the conversation.

Time to create page: 0.934 seconds