Objective. Optic nerve's intraneural stimulation is an emerging neuroprosthetic approach to provide artificial vision to totally blind patients. An open question is the possibility to evoke individual non-overlapping phosphenes via selective intraneural optic nerve stimulation. To begin answering this question, first, we aim at showing in preclinical experiments with animals that each intraneural electrode could evoke a distinguishable activity pattern in the primary visual cortex. Approach. We performed both patterned visual stimulation and patterned electrical stimulation in healthy rabbits while recording evoked cortical activity with an electrocorticogram array in the primary visual cortex. Electrical stimulation was delivered to the optic nerve with the intraneural array OpticSELINE. We used a support vector machine algorithm paired to a linear regression model to classify cortical responses originating from visual stimuli located in different portions of the visual field and electrical stimuli from the different electrodes of the OpticSELINE. Main results. Cortical activity induced by visual and electrical stimulation could be classified with nearly 100% accuracy relative to the specific location in the visual field or electrode in the array from which it originated. For visual stimulation, the accuracy increased with the separation of the stimuli and reached 100% for separation higher than 7 degrees. For electrical stimulation, at low current amplitudes, the accuracy increased with the distance between electrodes, while at higher current amplitudes, the accuracy was nearly 100% already for the shortest separation. Significance. Optic nerve's intraneural stimulation with the OpticSELINE induced discernible cortical activity patterns. These results represent a necessary condition for an optic nerve prosthesis to deliver vision with non-overlapping phosphene. However, clinical investigations will be required to assess the translation of these results into perceptual phenomena.