isetbio / isetbio_v0.1

Tools for modeling image systems engineering in the human visual system front end
MIT License
7 stars 0 forks source link

sceneGet minor #29

Closed DavidBrainard closed 9 years ago

DavidBrainard commented 9 years ago

A) I couldn’t find the ‘photons’ get in the help for sensorGet, although using it did work.

B) I had trouble with using ROI based gets for photons, and in general am a bit unsure of ROI gets and when they take rect input and when they take a list of locations. This may be slightly more general than just sceneGet.

wandell commented 9 years ago

A) I added comments to sceneGet. I assume that is what was meant (not sensorGet) in A).

B) I added comments to describe the ROI format. Either 4-vector or an Nx2 xy locs is permitted. The routine vcGetRoiData detects whether the ROI is an Nx2 or 4-vector and then manages the data extraction.