ModelDB is moving. Check out our new site at https://modeldb.science. The corresponding page is https://modeldb.science/147929.

Development of orientation-selective simple cell receptive fields (Rishikesh and Venkatesh, 2003)

 Download zip file 
Help downloading and running models
Accession:147929
Implementation of a computational model for the development of simple-cell receptive fields spanning the regimes before and after eye-opening. The before eye-opening period is governed by a correlation-based rule from Miller (Miller, J. Neurosci., 1994), and the post eye-opening period is governed by a self-organizing, experience-dependent dynamics derived in the reference below.
Reference:
1 . Rishikesh N, Venkatesh YV (2003) A computational model for the development of simple-cell receptive fields spanning the regimes before and after eye-opening Neurocomputing 50:125-158
Model Information (Click on a link to find other models with that property)
Model Type: Realistic Network; Neuron or other electrically excitable cell; Synapse;
Brain Region(s)/Organism: Neocortex;
Cell Type(s):
Channel(s):
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: C or C++ program;
Model Concept(s): Rate-coding model neurons; Unsupervised Learning; Winner-take-all; Development; Orientation selectivity; Vision;
Implementer(s): Narayanan, Rishikesh [rishi at iisc.ac.in];
#ifndef __IMG_DIS_H__
#define __IMG_DIS_H_

#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include<fstream.h>
#include<iostream.h>
#include<stdlib.h>
#include<string.h>
#include<unistd.h>
#include<stdio.h>

#define COLORMAPSIZE	256
#define TITLE		"Image Display Window"
#define BORDERWIDTH	5		/* border width = 5 pixels */

#ifndef __IMAGETY
#define __IMAGETY

typedef unsigned char ** Img ;
typedef double ** DImg ;
typedef float ** FImg ;

struct Imgstr
{
	DImg ima ;
	int xs;
	int ys;
};
#endif



class Imgdis
{
protected:

	Display         *display;		/* display and others */
	int		screen;
	Window		window;
	Visual		*visual;
	GC       	imageGC;		/* graphic contexts */
	unsigned long 	pixels[COLORMAPSIZE];	/* pixel values */
	int		cmapsize;		/* colormap size */
	XEvent		event;
	
	char 		*Title ;
	int 		width ;
	int 		height ;
	int 		wheight ;
	int		wwidth;

public :

	Imgdis ();

	void close(void);

	XImage * createXimage(Imgstr, unsigned int magnify=1);

	void displayImage(Imgstr,unsigned int magnify =1, 
		int xoffset =0, int yoffset = 0); 

	void drawImg(XImage *ximg, int xoffset=0, int yoffset=0);

	void setTitle(char *title);

	void setupXWindow(); 

	void setupGC();

	void setWindowsize(int heigh, int widt);

	void setImagesize(int,int);

	void OffsetInit(int,int);

	void OffsetDisplay(Imgstr,unsigned int = 1, int= 0, int = 0 );

};

#endif

Loading data, please wait...