Displaying 20 results from an estimated 30 matches for "img2".
Did you mean:
img
2008 Jun 05
2
Y values below the X plot
...com/file/p17670311/legend.jpg legend.jpg
-------------------------
img1<-c(-5.28191709,-5.364480081,-4.829456677,-5.325101503,-5.212952356,-5.181171896,-5.211122693,-5.153677663,-5.292961077,-5.151612394,-5.056544559,-5.151457115,-5.332984571,-5.325259917,-5.523870109,-5.429800485,-5.436455325)
img2<-c(-5.55,-5.56,-5.72,-5.57,-5.34,-5.18,-5.18,-5.36,-5.46,-5.32,-5.29,-5.37,-5.42,-5.45,-5.75,-5.75,-5.77)
angle<-26:42
plot(img1~angle, type="o", xlab="Incident angle", ylab="sigma",
ylim=c(-8,-2),lwd=2,col=8, pch=19,cex=1,axes="false")
lines(img2~angle...
2005 Aug 27
1
Samba clients can't see partitions mounted via loop device from image files
...mage files, via the loop device:
# first partition in drive1.ima is an NTFS partition:
losetup -r -o 32256 /dev/loop1 drive1.ima
mount -t ntfs /dev/loop1 /mnt/img1
# first partition in drive2.ima is a FAT32 partition:
losetup -o 32256 /dev/loop2 drive2.ima
mount -t vfat /dev/loop2 /mnt/img2
The drive*.ima files and /mnt/img* mount points are all
owned by root and are wide-open ("chmod 777").
The loop device mounts work fine: From the Linux box, I
can view the files in both /mnt/img1/* and /mnt/img2/*
with no problems, and I can create or modify files in
/mnt/img2/*
Samba...
2005 Aug 09
3
file
...SOURSE CODE SIMILAR THIS CODE
package asl;
import java.awt.*;
import java.awt.event.*
;
import java.applet.*;
public class animat1 extends Applet implements Runnable{
int c = 290, d = 300;
int x = 20, k = 20, o = 0, m = 10, n = 0, y = 0;
Thread t = new Thread(this);
Image img1, img2, img3;
// AudioClip a1;
public void init() {
// x = (int) (Math.random() * 420 - 100);
// y = (int) (Math.random() * 310 - 100);
// n = (int) (Math.random() * 660 - 100);
// o = (int) (Math.random() * 540 - 100);
// m = (int) (Math.random() *...
2009 Jun 15
1
Mounting multiple regular files as a filesystem
...ate a multi-device filesystem on top of regular files
(not actual disks), and mount that to a loopback device. For a
filesystem created on a single file, it works fine, but for a filesystem
across multiple files, it doesn''t.
dd if=/dev/zero of=img1 bs=4096 count=65536
dd if=/dev/zero of=img2 bs=4096 count=65536
dd if=/dev/zero of=img3 bs=4096 count=65536
dd if=/dev/zero of=img4 bs=4096 count=65536
mkfs.btrfs img1
mount -o loop -t btrfs img1 /mnt/test # works
mkfs.btrfs img1 img2 img3 img4
mount -o loop -t btrfs img1 /mnt/test # fails
When I try to mount with multiple files, it als...
2006 Sep 07
0
plot image matrix with row/col labels
...a URL).
Can someone help? My code is below
library(rimage)
image <- read.jpeg("C:/Documents/milestone/images/scalogram.jpg")
## how to read from web?
#image <-
read.jpeg("http://euclid.psych.yorku.ca/SCS/Gallery/images/Private/scalogram.jpg")
# remove row/col headers
img2 <- image[480:1740, 470:2350]
str(img2)
# size of each blob
ht <-floor(nrow(img2)/20);
wd <-floor(ncol(img2)/40)
# calculate trimmed mean of pixel values
mat <- matrix(nrow=20,ncol=40,0)
for (i in 1:20) {
for (j in 1:40) {
rows <- seq(1+(i-1)*ht, i*ht)
cols <- seq(1+(j-1)*wd...
2017 Nov 29
1
[PATCH] builder: use the template arch when caching all templates
...dir="$tmpdir/cache"
+
+mkdir -p "$reposdir"
+mkdir -p "$repodir"
+
+# Create some fake images.
+img1_path="$repodir/img1.raw"
+img1_size=10485760 # 10G
+qemu-img create -f raw "$img1_path" $img1_size
+img1_csum=`do_sha256 "$img1_path"`
+
+img2_path="$repodir/img2.qcow2"
+img2_size=5242880 # 5G
+qemu-img create -f qcow2 "$img2_path" $img2_size
+img2_csum=`do_sha256 "$img2_path"`
+
+# Create an index for the images.
+cat > "$indexfile" <<EOF
+[img1]
+name=img1
+file=$(basename "$img1_p...
2011 Jan 13
8
mount a .img file
Ok guys I am wondering if anyone can help me out here. I am trying to
mount a xen .img file. when I try to do a mount -o loop /xen/guest.img
/mnt/tmp I get a message saying that I need to specify a partition
type.. What am I missing?
Many thanks in advance,
CJP
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2013 Apr 19
1
How to read a direct access file by connecting fortran with R ?
...n_col,row,img)
integer*1 :: im1(n_col)
integer*1 :: im2(n_col)
integer*1 :: im2(n_col)
open(10,file=binary_file,access=direct,action=read,status='old',recl=n_col*p)
if(p==1) then
read(10,rec=row) img1
img=img1
else if(p==2) then
read(10,rec=row) img2
img=img2
else
read(10,rec=row) img3
img=img3
endif
close(10)
End subroutine read_binary
************************************
II) R CMD SHLIB read_binary.f90
III) dyn.load("read_libray.so")
IV) Then in R, I tried many variant of the following function but I w...
2009 Aug 22
2
Error using command prompt
I am using Dev-C++ under WINE and Ubuntu as I am not yet familiar with Ubuntu enough to study C without a simple compiler I am used to. It installed ok, and compiled .exe files ok, but when it came to run those programs I had a problem.
The first was that, normally, when I would run an executable written to use the windows command prompt, the command prompt wouldn't appear. Now, I make sure
2019 Dec 26
1
virt-sparsify error message.
Hello,
I'm using virt-sparsify on a new server and I get an error message:
# virt-sparsify img img2
[ 0.0] Create overlay file in /tmp to protect source disk
[ 0.1] Examine source disk
virt-sparsify: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Here is libguestfs-test-tool output:
http://pastebin.com/3EZNxAeR
I...
2010 Mar 22
4
[PATCH FOR TESTING 0/2] virt-resize tool
This program is now working and ready for testing.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
2008 Nov 20
8
A Couple of problems with Wine
I'm running Mandriva 2009 with KDE and I'm trying to use 2 things in Wine..
1: Adobe Photoshop Elements 7
When I try to install this, it shut down when it should be starting install files, after serial input and folder selection.. I get this in consol:
Code:
[axept at localhost pse7]$ wine setup.exe
fixme:advapi:LookupAccountNameW (null) L"axept" (nil) 0x33f8dc (nil)
2016 Dec 29
2
isohybrid boot from logical partition
Hi,
i think i found the reason for the boot failure in the definition of
Extended Boot Records.
https://en.wikipedia.org/wiki/Extended_boot_record#Values
"Starting sector = relative offset between this EBR sector and the
first sector of the logical partition.
Note: This is often the same value for each EBR on the same hard disk;
usually 63 for Windows XP or older."
So if
2007 Oct 22
0
copy a big file to scsi disk makes the guest OS down
My guest OS is Vista,(I downloaded the Xen-unstable.hg on August 22th 2007,the version of Xen should be 3.1).The configuration file include
"disk = [ 'file:/img/vista6000.img,hda,w', 'file:/img2/scsi.img,sda,w']"
When
I copy a big file(2.5G) to the scsi disk,the guest OS will die several
seconds later.(When I copy a small file(100M),this will not
happen).
Does anybody has the same experience?or does anybody knows how to solve the problem?
=====================================...
2008 Aug 07
1
Mount a Xen disk image file
...eads, 63 sectors/track, 0 cylinders, zusammen 0 Sektoren
> Einheiten = Sektoren von 1 ? 512 = 512 Bytes
>
> Ger?t boot. Anfang Ende Bl?cke Id System
> /var/lib/xen/images/BaseCentos.img1 * 63 208844
104391 83 Linux
> /var/lib/xen/images/BaseCentos.img2 208845 8177084
3984120 8e Linux LVM
And I can mount the first partition with no problem using the offset
(start) from the partition table:
> mount -o loop,offset=$((63*512) /PATH/TO/IMAGE.img /MOUNTPOINT
But I cannot mount the second partition using the offset of it:
> mou...
2010 Oct 24
0
America's Army 3 (AA3Game.exe) Crashes with Steam Client and Wine 1.3.2
Dear All,
Please refer to attached screenshot of America's Army 3 Program Error.
[1] http://imgur.com/3Mky4.png
[2] http://i55.tinypic.com/dxz6nq.png
[3] http://img218.imageshack.us/img218/4595/aa3steamclientwine132.png
[4]
http://img2.uploadhouse.com/fileuploads/6751/67514722a40f9a6544b45081e58dd051255e1e3.png
Please assist in troubleshooting the problem. I have set the Default
Settings in Application Settings in winecfg to "Windows 7".
Thank yo...
2016 Dec 29
0
isohybrid boot from logical partition
...itions is indeed a troublemaker between GRUB and SYSLINUX.
---------------------------------------------------------------------
I created by help of fdisk this layout
Device Boot Start End Sectors Size Id Type
ebr_fdisk.img1 1 16 16 8K 83 Linux
ebr_fdisk.img2 17 2047 2031 1015.5K 5 Extended
ebr_fdisk.img5 64 192 129 64.5K 83 Linux
ebr_fdisk.img6 200 264 65 32.5K 83 Linux
Indeed the EBRs show relative block start addresses.
At block 17, the EBR of partition 5 has as first partition slot (decimal):
0...
2003 May 27
2
Group mapping
Hi everybody,
Since two days I'm trying to migrate a whole NT4 PDC to Samba-3 with the
"net rpc vampire".
Each user and computer accounts are correctly added in LDAP directory.
But for every account this message appears during the migration :
Primary group of xxxx has no mapping!
An other problem is that none of the 558 groups is added in LDAP
directory. Then, in my smb.conf
2015 Mar 25
0
Re: [PATCH 1/2] New API: btrfs_filesystem_show
...GiB used 2.00GiB path /dev/sdd
devid 3 size 10.00GiB used 2.00GiB path /dev/sde
...
If VM has two btrfs filesystem, this API could tell user
which device runs on which btrfs fs.
For btrfs [fs1] with uuid 9cdb73b9-d5b9-46c4-9395-25a952e7922a,
we could know it runs on:
/dev/[sdb|sdd|sde] -> img1,img2,img3
Other one [fs2] runs on
/dev/sda6 -> img4
If we want to do something like backup part of btrfs fs data,
such as we want to drop data of fs2,
we could know which VM image should be backup.
AFAIK, it's the only way we could know this.
So I think we should provide API:
btrfs_filesystem...
2006 Jul 30
1
FileColumn - Validate Before Saving
file_column is great -- but I need a way to run through the validations
(ie: validates_file_format_of) before saving. That is, when a user first
uploads an image it is displayed in the view but not ''saved'' until they
click the ''Save'' button on the form. I want to display an error
message/disable the ''Save'' button if the file they just