Rank: 1064 based on 140 downloads (last 30 days) and 7 files submitted
photo

Zhang Jiang

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Zhang View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 Feb 2011 Export image to TIF or TIFF file of selected data type A supplement to IMWRITE to write to TIF files of data types beyond int16. Author: Zhang Jiang imwrite, tif, tiff, int32, uint32, image processing 24 5
  • 5.0
5.0 | 2 ratings
19 Dec 2010 Screenshot spec file reader Monitor, read, save scans from SPEC files and calculate true reflectivity. Author: Zhang Jiang chemistry, physics, spec, xray, neutron, reflectivity 35 0
11 Oct 2006 dock and undock figures Selectively dock/undock figures Author: Zhang Jiang development environme..., dock undock figure 19 1
  • 4.0
4.0 | 1 rating
05 Oct 2006 Screenshot errorbarlogy errorbar plot for log y scale Author: Zhang Jiang specialized, plotting, errorbar, log, scale, plot 31 2
  • 4.5
4.5 | 3 ratings
06 Jul 2006 setsubplot set the properties of the axes group in a figure Author: Zhang Jiang annotation, customization, subplot, axes, figure, graphics 5 0
Comments and Ratings on Zhang's Files View all
Updated File Comment by Comments Rating
03 Apr 2014 Export image to TIF or TIFF file of selected data type A supplement to IMWRITE to write to TIF files of data types beyond int16. Author: Zhang Jiang Jun

Hi,

It runs well on relatively newer versions. But when I ran this on a very old version (MATLAB R2006a), it gave me following error:

??? Undefined command/function 'Tiff'.

Error in ==> imwrite2tif at 109
t = Tiff(imfile,'w');

I don't know whether this is fixable. Or I just have to use newer version of MATLAB.

Thanks.

26 Mar 2014 errorbarlogy errorbar plot for log y scale Author: Zhang Jiang Romach, Yoav

21 Oct 2013 errorbarlogy errorbar plot for log y scale Author: Zhang Jiang Henderson, Michael

I'm using your m.file, errorlogy, to quickly plot some neutron reflectivity data with error bars on a semilog plot. After using errorlogy, I am getting the error message "Negative data ignored" and the resultant plot neglected to include the bottom portion of some of the error bars for my data at high Qz. My data set doesn't contain any negative numbers and I input my error as a variance. Any thoughts? Thanks!

12 Nov 2012 Export image to TIF or TIFF file of selected data type A supplement to IMWRITE to write to TIF files of data types beyond int16. Author: Zhang Jiang Max

Hi Jiang,
This is great! I too wanted to write a number of images to one file as did Hongxiao. I found this to work:

Change:
tagstruct.SamplesPerPixel = 1;%size(imgdata,3);

Added at the end:
nimgs = size(imgdata,3);
if nimgs>1
t2 = Tiff(imfile,'a');
t2.setTag(tagstruct);

for n=2:nimgs
t2.write(squeeze(imgdata(:,:,nimgs)), 'a');
['writing image' num2str(n)]
end
end
t2.close();

29 Aug 2012 Export image to TIF or TIFF file of selected data type A supplement to IMWRITE to write to TIF files of data types beyond int16. Author: Zhang Jiang W, Michael

This function is really great! It works most of the time, but it creates a segmentation violation when writing very large (>2GB) TIFF files. Anyone know about this?

Contact us