- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I have a problem with shared sized view on a tree. I have three levels on the tree. My shared sized mode works on the last lavel where the lowest level of the tree corospond to the end of second level. my problem is I can not make the same … |
|
I have a marshalled data packet from the ActiveMQ connection. When I deceive the message my unmarshalling method should unmarshall the message to ite appropriate class object. I have the follwing message in the console of the Eclipse Indego. Exception in thread "ActiveMQ Session Task-87" java.lang.IllegalAccessError: com/sun/xml/bind/v2/runtime/reflect/opt/Const at weathergenerated.IMaritimeWeatherStationInformation$JaxbAccessorF_visibilityDistance.set(FieldAccessor_Integer.java:59) at … |
|
hello, I have a JAVA application for active MQ message receiving.It is based on a observer pattern. When I receive a non persistant message at my on Message functionality, it receives the same message nearly 7 times. I have a GUI where I put the messages. But as the receive … |
|
Hello, I have a observer pattern based JTable. With time it is poulated with new data packets. I use addRow functionalities to add my rows. But I want to put always the last coming datapackets at the top. How to do it?? |
|
I want to create a message table, where every incoming message is saved as a row in a message. According to the picture below. Any introductory help will be very helpful. I already have รก application where the messages are printed on a textarea, but for further inhancment I want … |
|
I have a class that has a text area. the code is as follows package view; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.ScrollPaneConstants; public class LabelStatus extends JPanel { /** * */ private static final long serialVersionUID = 1L; … |
|
I have two class. One class is for JAVA text area another class has a object. I want to print in the textarea from another class. The class with the text area. public class LabelStatus extends JPanel { /** * */ private static final long serialVersionUID = 1L; final static … |
|
I am trying to use Kalman filter for localization process. The Kalman filter has error parameters like Q and R. Any mathematical equation or online resource will be helpful. |
|
I am trying to develop a digital map based on the vehicle inertial sensor information. The Map output will be a road course shape on which the vehicle traveled. The map will be based on a fixed reference point. I have speed, yaw rate and time related information. what I … |
|
Hello, I have a forth order equation aX^4+bX^3+cX^2+dX+e=0 How to solve the equation? I have looked at the follwing thread on a forum but I can not understand the assignment of the variables. [url]http://www.cplusplus.com/forum/general/8129/[/url] Any ideas? |
|
Hello, I am trying to understand the concept of a digital map in a navigation system in a car. Every car today has a GPS installed inside. It calculates the position of the CAR with the GPS and plot the position on the Digital map. The digtal map has a … |
|
I am trying to use the zlib based compression for buffer compression. In this case, I am using compress2 function. [CODE]compression_success=compress2((Bytef*)compressed_buffer, &compressed_size,(const Bytef*)package_data.pData, (uLongf)orig_size, 1);[/CODE] And for decompression I am using uncompress function. [CODE]uncompress_success=uncompress((Bytef*)destination, &UnCompSize, (const Bytef*)package_data.pData, package_data.cbData);[/CODE] The problem is that the system tend to be very slow. I … |
|
hello, I have developed a file compression tool using zlib compression library. As the zlib use the deflate and inflate process, does the size of the file effect compression ratio? If it has effect, what is the reason? Thank you. |
|
I am using Rice-Golumb encoding for image compression. Compression and decompression working perfectly on 12-bit greyscale image. The pixels are saved in a short int type array. But when compressing it is saved in a long int type buffer. My question is If the input is short int type then … |
|
I am sorry to bother people with silly questions, But I have no choice. I have a statement unsigned short a=4000, current_word; current_word=a << 3; Then I have another statement unsigned long a=4000, current_word; current_word=a << 19; According to my knowledge they will contain the same value. Am I right? |
|
I have an attachment PDF with pixel alignment. Then I have this code which assigns short integer to appropriate pixels. [CODE] void CMFC3xxDevice::prepare_data_decompress(data_package_ex &pdata) { char *input = (char*) pdata.pData; int incount=pdata.cbData; int finalarray_pos = 0; DWORD dwTempBufferSize = pdata.cbData; for(int i = 0; i < incount; i+=3) { MFC3XXPixelAlignment … |
|
I understood that 0x80000000 is the minimum value for the 32 bit integer for 32 bit machine. If I want the same value for 64 bit machine, what will be the value? Please explain. |
|
I have a void type array. I want to create a function which will read 12 bits in each time and store it in a unsigned int type variable. Any ideas? Thank you. |
|
Hello Everyone, I am trying to work on omage compression on 12 bit image compression. I am using Rice encoding for 12 bit image. I have a complete program for 16 bit image compression. But I want to convert it to 12 bit image compression. And I also want to … |
|
Hello, I have received a piece of code which compress the image direct from a camera to a encoded file using Rice algorithm. [CODE]void code_riceI(unsigned short int *pic, const int X, const int Y, const int n, char *fn) - *pic: pointer to a field of 16bit image (bayer encoded … |
|
I am trying to use file name as a parameter to a program in DOS. I know it can be done by changing the parameter to the main(). I do not understand the exact way. I have developed a data compression and decompression utility, it works for a particular file … |
|
Hi, I am trying to use zlib library to use it in a string compression application. Look at the piece of code -- [CODE]uLongf DestBuffSize=0; compress2((Bytef*)CompDataBuff, (uLongf*)&DestBuffSize,(const Bytef*)d1, (uLongf)length, Z_BEST_COMPRESSION); [/CODE] In this code the variable DestBuffSize will contain the length of the compressed buffer. But the variable DestBuffSize is … |
|
hello Everyone, I have a problem with type casting. My code is [CODE] zcpr.next_in = FilePtr;[/CODE] next_in is a element of the zcpr structure where its type is and FilePtr is a void type pointer. zcpr is a z_stream type structure and next_in is a Bytef type pointer. This code … |