Welcome to the NavList Message Boards.

NavList:

A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding

Compose Your Message

Message:αβγ
Message:abc
Add Images & Files
    or...
       
    Reply
    Re: Star CN with DSLR Camera
    From: Bill Lionheart
    Date: 2016 Jan 29, 06:51 -0800

    I made a preliminary forray in to how to automatically analyse the photo. After rotating so that the horizon was horizontal I summed the red channel of the photo along rows of pixels. I think this makes it easier to pick out the centre of teh sun and the horizon. In this case I did it only on a range of x pixels between 1000 and 1500 which includes the sun but not the yacht. The sea surface is actually clearer in teh red chanel further from where the sun light is reflected so that suggests a wider shot with a calear horizon is best. Anyway so far I stil get 2403 pixels

    I did this in Matlab, but it would work as well in Octave I think which is free. The commands I used are

    I = imread('DSLR-Sun-Hs.jpg');
    I=I(:,1000:1500,1);% Red channel
    subplot(1,2,1)
    colormap(gray)
    imagesc(I(size(I,1):-1:1,:));
    set(gca,'YDir','normal')
    subplot(1,2,2)
    plot( sum(I(:,:),2),size(I,1):-1:1)



    File:



       
    Reply
    Browse Files

    Drop Files

    NavList

    What is NavList?

    Join NavList

    Name:
    (please, no nicknames or handles)
    Email:
    Do you want to receive all group messages by email?
    Yes No

    You can also join by posting. Your first on-topic post automatically makes you a member.

    Posting Code

    Enter the email address associated with your NavList messages. Your posting code will be emailed to you immediately.
    Email:

    Email Settings

    Posting Code:

    Custom Index

    Subject:
    Author:
    Start date: (yyyymm dd)
    End date: (yyyymm dd)

    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site