davidcsterratt / retistruct

Computational reconstruction and transformation of flattened retinae
http://davidcsterratt.github.io/retistruct/
7 stars 7 forks source link

Post-process mapping function for cartesian (x,y) to (phi,lambda) #20

Closed bc closed 5 years ago

bc commented 6 years ago

I map datapoint locations by reconstructing the retina, and passing datapoints.csv through, so I will receive the phi/lambda coordinate for each of the input datapoints.

Is there a way to output the X,Y --> phi,lambda function after retistruction is complete?

Desired use case:

retistruct_object <- use_retistruct_to_reconstruct_retina(path_to_folder_with_markup_outline_etc)
point_on_sphere <- map_cartesian_to_spherical(model = retistruct_object, point_of_interest = c(x=100,y=10))
#point on sphere = c(phi,lambda)
bc commented 6 years ago

thanks!

bc commented 6 years ago

just following up on this. thanks again

jlause commented 5 years ago

Hey David, I'd also be very interested in such a feature. Is there any chance it is coming with 0.6.1? Cheers! Jan.

bc commented 4 years ago

this is really helpful, thanks again for incorporating it!