voyager 1
Export Images in the Golden Disk
보이저 1호는 NASA가 1977년 9월 5일 발사한 우주탐사선이다. 보이저 1호는 외태양계를 연구하기 위한 보이저 프로그램의 일환으로 쌍둥이 보이저 2호가 발사된 지 16일 만에 발사됐다. --위키피디아
이 저장소에는 Voyager Golden Record의 이미지 데이터를 디코딩하기 위한 R# 스크립팅에 필요한 코드가 포함되어 있습니다.
크레딧 : 테스트 wav 파일 데이터와 디코더 알고리즘 구현의 일부는 프로젝트 저장소인 Voyager-Golden-Record-Decoder에서 제공됩니다.
다음은 Goden 레코드의 첫 번째 원 이미지를 디코딩하기 위한 R#
스크립트의 예입니다.
# R# "E:voyager-1Rscriptfirst-circle.R" --debug --ignore-missing-startup-packages
imports " voyager1 " from " voyager-1 " ;
imports " wav " from " signalKit " ;
const goldenRecord as string = " J: G oogleDrive V oyager 3 84kHzStereo.wav " ;
# A demo R# script for image decode from the goden record wave data
# this very first circle image on the goden record is used for
# parameter calibration of the image decoder
using wav as read.wav( file = file( goldenRecord ), lazy = TRUE ) {
# view of the raw file data summary;
print( wav );
# parameters of the first circle image
# and wav decoder arguments
let first_circle = new image.chunk( channel = " Left " , start = 6000208 , length = 1928181 );
let decoder = new decode( windowSize = 3400 , offset = 217 );
print( first_circle );
print( " data size of this image chunk: " );
print( wav : > chunk_size( chunk = first_circle ));
# run decoder and save the
# result image file
wav
: > decode( chunk = first_circle , decode = decoder )
: > as.bitmap( white = 1.125 )
: > bitmap( file = `${dirname(!script$dir)}/docs/circle.png` )
;
}
R# 인터프리터를 사용하여 데모 스크립트를 실행합니다.
그런 다음 데모 스크립트는 wav 데이터에서 디코딩된 다음과 같은 회색조 이미지를 출력해야 합니다.
마침내 Photoshop에서 결과 이미지 출력을 미세 조정하여 더욱 명확하게 만들 수 있습니다.