FLIR (point grey) MONO16 mode produce only 8bits image
    7 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
Hi,
I use FLIR  Blackfly BFLY-PGE-23S6C camera on Matlab2017b.
I open the camera on Mono16 mode. However, the image is limited to 8bit (256) values.
I used 2 methods to open and read an image:
The first is using videoinput:
vid = videoinput('gige', 1, 'Mono16');
src = getselectedsource(vid);
vid.FramesPerTrigger = 1;
img = getdata(vid);
im_16g_cropped=bitand(img,4095);
figure; imagesc(im_16g_cropped);
The second is using direct gigE:
camline=gigecamlist
g=gigecam(camline.IPAddress{1})
preview(g);
closePreview(g);
g.PixelFormat=g.AvailablePixelFormats{5}
g.AcquisitionFrameRateAuto='off'
g.AcquisitionFrameRate=5;
g.ExposureAuto='off'
g.ExposureTime=3e4
g.GainAuto='off'
g.Gain=29;
img=snapshot(g);
im_16g_cropped=bitand(img,4095);
figure; imagesc(im_16g_cropped);
Both methods produce the same result.
Anybodey has an idea?
0 Commenti
Risposte (0)
Vedere anche
Categorie
								Test and Measurement
									
								Image Acquisition Toolbox
									
								Image Acquisition Toolbox Supported Hardware
									
								GigE Vision Hardware
						
						
								Image Processing and Computer Vision
									
								Image Acquisition Toolbox
									
								Image Acquisition Toolbox Supported Hardware
									
								GigE Vision Hardware
						
						
								Test and Measurement
									
								Image Acquisition Toolbox
									
								Image Acquisition Toolbox Supported Hardware
									
								Point Grey Hardware
						
						
					Mostra altro
					
		
				Scopri di più su GigE Vision Hardware in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
